@@ -21,7 +21,6 @@ import type { ResponsiveFontSize } from './CardHeadline';
2121import type { Loading } from './CardPicture' ;
2222import { FeatureCard } from './FeatureCard' ;
2323import { FrontCard } from './FrontCard' ;
24- import { Hide } from './Hide' ;
2524import type { Alignment } from './SupportingContent' ;
2625
2726type Props = {
@@ -33,7 +32,6 @@ type Props = {
3332 aspectRatio : AspectRatio ;
3433 containerLevel ?: DCRContainerLevel ;
3534 collectionId : number ;
36- isInNoBoostsAbTestVariant ?: boolean ;
3735} ;
3836
3937type RowLayout = 'oneCardHalfWidth' | 'oneCardFullWidth' | 'twoCard' ;
@@ -582,7 +580,6 @@ export const FlexibleGeneral = ({
582580 aspectRatio,
583581 containerLevel = 'Primary' ,
584582 collectionId,
585- isInNoBoostsAbTestVariant,
586583} : Props ) => {
587584 const splash = [ ...groupedTrails . splash ] . slice ( 0 , 1 ) . map ( ( snap ) => ( {
588585 ...snap ,
@@ -616,48 +613,7 @@ export const FlexibleGeneral = ({
616613 { groupedCards . map ( ( row , i ) => {
617614 switch ( row . layout ) {
618615 case 'oneCardFullWidth' :
619- return isInNoBoostsAbTestVariant ? (
620- < >
621- < Hide when = "above" breakpoint = "tablet" >
622- < HalfWidthCardLayout
623- key = { row . cards [ 0 ] ?. uniqueId }
624- cards = { row . cards }
625- containerPalette = { containerPalette }
626- showAge = { showAge }
627- absoluteServerTimes = {
628- absoluteServerTimes
629- }
630- imageLoading = { imageLoading }
631- isFirstRow = { ! splash . length && i === 0 }
632- isFirstStandardRow = { i === 0 }
633- aspectRatio = { aspectRatio }
634- isLastRow = {
635- i === groupedCards . length - 1
636- }
637- containerLevel = { containerLevel }
638- />
639- </ Hide >
640- < Hide when = "below" breakpoint = "tablet" >
641- < FullWidthCardLayout
642- key = { row . cards [ 0 ] ?. uniqueId }
643- cards = { row . cards }
644- containerPalette = { containerPalette }
645- showAge = { showAge }
646- absoluteServerTimes = {
647- absoluteServerTimes
648- }
649- imageLoading = { imageLoading }
650- aspectRatio = { aspectRatio }
651- isFirstRow = { ! splash . length && i === 0 }
652- isLastRow = {
653- i === groupedCards . length - 1
654- }
655- containerLevel = { containerLevel }
656- collectionId = { collectionId }
657- />
658- </ Hide >
659- </ >
660- ) : (
616+ return (
661617 < FullWidthCardLayout
662618 key = { row . cards [ 0 ] ?. uniqueId }
663619 cards = { row . cards }
0 commit comments