mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
Add keys
This commit is contained in:
@@ -43,8 +43,8 @@ const M: FC<Props> = ({
|
||||
<Ticker>
|
||||
{({ index }) => (
|
||||
<div className={s.container}>
|
||||
{items.map((p: any) => (
|
||||
<Component {...p} key={index} />
|
||||
{items.map((p: any, i: any) => (
|
||||
<Component key={i} {...p} />
|
||||
))}
|
||||
</div>
|
||||
)}
|
||||
|
Reference in New Issue
Block a user