@@ -104,7 +104,7 @@ const ImmersiveCardLayout = ({
104
104
const isLoopingVideo = card . mainMedia ?. type === 'LoopVideo' ;
105
105
106
106
return (
107
- < UL padBottom = { true } key = { card . url } >
107
+ < UL padBottom = { true } >
108
108
< LI padSides = { true } >
109
109
< FeatureCard
110
110
collectionId = { collectionId }
@@ -442,7 +442,6 @@ const FullWidthCardLayout = ({
442
442
showTopBar = { ! isFirstRow }
443
443
padBottom = { ! isLastRow }
444
444
hasLargeSpacing = { ! isLastRow }
445
- key = { card . url }
446
445
>
447
446
< LI
448
447
padSides = { true }
@@ -496,7 +495,6 @@ type HalfWidthCardLayoutProps = {
496
495
showAge ?: boolean ;
497
496
absoluteServerTimes : boolean ;
498
497
aspectRatio : AspectRatio ;
499
- row : number ;
500
498
isLastRow : boolean ;
501
499
containerLevel : DCRContainerLevel ;
502
500
} ;
@@ -510,7 +508,6 @@ const HalfWidthCardLayout = ({
510
508
isFirstRow,
511
509
isFirstStandardRow,
512
510
aspectRatio,
513
- row,
514
511
isLastRow,
515
512
containerLevel,
516
513
} : HalfWidthCardLayoutProps ) => {
@@ -524,7 +521,6 @@ const HalfWidthCardLayout = ({
524
521
showTopBar = { ! isFirstRow }
525
522
/** We use one full top bar for the first row and use a split one for subsequent rows */
526
523
splitTopBar = { ! isFirstStandardRow }
527
- key = { row }
528
524
>
529
525
{ cards . map ( ( card , cardIndex ) => {
530
526
return (
@@ -628,6 +624,7 @@ export const FlexibleGeneral = ({
628
624
isLastRow = { i === groupedCards . length - 1 }
629
625
containerLevel = { containerLevel }
630
626
collectionId = { collectionId }
627
+ key = { row . cards [ 0 ] ?. uniqueId }
631
628
/>
632
629
) ;
633
630
@@ -644,9 +641,9 @@ export const FlexibleGeneral = ({
644
641
isFirstRow = { ! splash . length && i === 0 }
645
642
isFirstStandardRow = { i === 0 }
646
643
aspectRatio = { aspectRatio }
647
- row = { i + 1 }
648
644
isLastRow = { i === groupedCards . length - 1 }
649
645
containerLevel = { containerLevel }
646
+ key = { row . cards [ 0 ] ?. uniqueId }
650
647
/>
651
648
) ;
652
649
}
0 commit comments