Skip to content

Commit cd5fcb8

Browse files
committed
Hide match nav when in test group
Match nav is part of the new match header
1 parent 4fbbde9 commit cd5fcb8

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

dotcom-rendering/src/layouts/LiveLayout.tsx

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -655,17 +655,18 @@ export const LiveLayout = (props: WebProps | AppsProps) => {
655655
<LiveGrid>
656656
<GridItem area="media">
657657
<div css={maxWidth}>
658-
{!!footballMatchUrl && (
659-
<Island
660-
priority="critical"
661-
defer={{ until: 'visible' }}
662-
>
663-
<GetMatchTabs
664-
matchUrl={footballMatchUrl}
665-
format={format}
666-
/>
667-
</Island>
668-
)}
658+
{!isInFootballRedesignTest &&
659+
!!footballMatchUrl && (
660+
<Island
661+
priority="critical"
662+
defer={{ until: 'visible' }}
663+
>
664+
<GetMatchTabs
665+
matchUrl={footballMatchUrl}
666+
format={format}
667+
/>
668+
</Island>
669+
)}
669670
{!!cricketMatchUrl && (
670671
<Island
671672
priority="critical"

0 commit comments

Comments
 (0)