@@ -47,6 +47,7 @@ type Props = {
4747 frontId ?: string ;
4848 collectionId : number ;
4949 containerLevel ?: DCRContainerLevel ;
50+ isInSlimHomepageAbTestVariant ?: boolean ;
5051} ;
5152
5253export const DecideContainer = ( {
@@ -62,6 +63,7 @@ export const DecideContainer = ({
6263 frontId,
6364 collectionId,
6465 containerLevel,
66+ isInSlimHomepageAbTestVariant = false ,
6567} : Props ) => {
6668 switch ( containerType ) {
6769 case 'dynamic/fast' :
@@ -244,6 +246,9 @@ export const DecideContainer = ({
244246 imageLoading = { imageLoading }
245247 aspectRatio = { aspectRatio }
246248 collectionId = { collectionId }
249+ isInSlimHomepageAbTestVariant = {
250+ isInSlimHomepageAbTestVariant
251+ }
247252 />
248253 ) ;
249254 case 'flexible/general' :
@@ -257,6 +262,9 @@ export const DecideContainer = ({
257262 aspectRatio = { aspectRatio }
258263 containerLevel = { containerLevel }
259264 collectionId = { collectionId }
265+ isInSlimHomepageAbTestVariant = {
266+ isInSlimHomepageAbTestVariant
267+ }
260268 />
261269 ) ;
262270 case 'scrollable/small' :
@@ -284,6 +292,9 @@ export const DecideContainer = ({
284292 serverTime = { serverTime }
285293 aspectRatio = { aspectRatio }
286294 sectionId = { sectionId }
295+ isInSlimHomepageAbTestVariant = {
296+ isInSlimHomepageAbTestVariant
297+ }
287298 />
288299 </ Island >
289300 ) ;
@@ -296,6 +307,9 @@ export const DecideContainer = ({
296307 serverTime = { serverTime }
297308 imageLoading = { imageLoading }
298309 aspectRatio = { aspectRatio }
310+ isInSlimHomepageAbTestVariant = {
311+ isInSlimHomepageAbTestVariant
312+ }
299313 />
300314 ) ;
301315 case 'scrollable/feature' :
@@ -308,6 +322,9 @@ export const DecideContainer = ({
308322 serverTime = { serverTime }
309323 aspectRatio = { aspectRatio }
310324 collectionId = { collectionId }
325+ isInSlimHomepageAbTestVariant = {
326+ isInSlimHomepageAbTestVariant
327+ }
311328 />
312329 </ Island >
313330 ) ;
0 commit comments