Skip to content

Commit 4c99bd1

Browse files
committed
Fix linting issues
1 parent b5fa5f1 commit 4c99bd1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dotcom-rendering/src/components/StackedProducts.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { css } from '@emotion/react';
2+
import { space } from '@guardian/source/foundations';
23
import type { ArticleFormat } from '../lib/articleFormat';
34
import type { ProductBlockElement } from '../types/content';
45
import { HorizontalSummaryProductCard } from './HorizontalSummaryProductCard';
5-
import { space } from '@guardian/source/foundations';
66

77
export const StackedProducts = ({
88
products,
@@ -20,8 +20,9 @@ export const StackedProducts = ({
2020
`,
2121
]}
2222
>
23-
{products.map((product: ProductBlockElement) => (
23+
{products.map((product: ProductBlockElement, index) => (
2424
<HorizontalSummaryProductCard
25+
key={index}
2526
product={product}
2627
format={format}
2728
/>

0 commit comments

Comments
 (0)