Skip to content

Commit 632ad00

Browse files
committed
fix: avoid duplicate product card keys
1 parent 8c9cde2 commit 632ad00

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

landing/src/components/product/product-page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ function FitSection({ content }: { content: ProductPageContent }) {
199199
</div>
200200
<div className="grid gap-4 sm:grid-cols-2">
201201
{section.cards?.map((card) => (
202-
<article className="rounded-[4px] border border-black/10 p-6" key={card.title}>
202+
<article className="rounded-[4px] border border-black/10 p-6" key={`${card.title}-${card.body}`}>
203203
<PixelIcon name={card.icon} className="size-5 text-[#8232ff]" />
204204
<DisplayHeading as="h3" size="card" className="mt-10">
205205
{card.title}

0 commit comments

Comments
 (0)