File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
dotcom-rendering/src/components Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 11import { css } from '@emotion/react' ;
2+ import { space } from '@guardian/source/foundations' ;
23import type { ArticleFormat } from '../lib/articleFormat' ;
34import type { ProductBlockElement } from '../types/content' ;
45import { HorizontalSummaryProductCard } from './HorizontalSummaryProductCard' ;
5- import { space } from '@guardian/source/foundations' ;
66
77export 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 />
You can’t perform that action at this time.
0 commit comments