fix: Add card unique key

This commit is contained in:
2026-01-22 10:40:27 -05:00
parent 8c53871b4e
commit 708dd3adeb

View File

@@ -11,13 +11,15 @@ const ProductCards = ({ products } : ProductCardProps) => {
<> <>
{ products.map((product) => { { products.map((product) => {
return ( return (
<Card <div key={product.id}>
image={product.image} <Card
name={product.name} image={product.image}
price={product.price} name={product.name}
description={ product.description} price={product.price}
cardId={product.id} description={ product.description}
/> cardId={product.id}
/>
</div>
) )
}) } }) }
</> </>