Skip to content

Commit cb2997a

Browse files
committed
Move absoluteServerTimes destructuring back
1 parent 36da83f commit cb2997a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dotcom-rendering/src/layouts/FrontLayout.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ export const FrontLayout = ({ front, NAV }: Props) => {
108108
hasPageSkin: hasPageSkinConfig,
109109
pageId,
110110
abTests,
111+
switches: { absoluteServerTimes = false },
111112
},
112113
editionId,
113114
} = front;
@@ -135,8 +136,6 @@ export const FrontLayout = ({ front, NAV }: Props) => {
135136

136137
const contributionsServiceUrl = getContributionsServiceUrl(front);
137138

138-
const { absoluteServerTimes = false } = front.config.switches;
139-
140139
const fallbackAspectRatio = (collectionType: DCRContainerType) => {
141140
switch (collectionType) {
142141
case 'scrollable/feature':

0 commit comments

Comments
 (0)