Skip to content

Commit 0d8c1cc

Browse files
Update GalleryLayout.tsx
1 parent 44b164f commit 0d8c1cc

File tree

1 file changed

+25
-27
lines changed

1 file changed

+25
-27
lines changed

dotcom-rendering/src/layouts/GalleryLayout.tsx

Lines changed: 25 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -407,33 +407,31 @@ export const GalleryLayout = (props: WebProps | AppProps) => {
407407
storyPackage={gallery.storyPackage}
408408
topBorder={showMerchandisingHigh}
409409
/>
410-
{isWeb && (
411-
<Island priority="feature" defer={{ until: 'visible' }}>
412-
<OnwardsUpper
413-
ajaxUrl={frontendData.config.ajaxUrl}
414-
hasRelated={frontendData.hasRelated}
415-
hasStoryPackage={frontendData.hasStoryPackage}
416-
isAdFreeUser={frontendData.isAdFreeUser}
417-
pageId={frontendData.pageId}
418-
isPaidContent={!!frontendData.config.isPaidContent}
419-
showRelatedContent={
420-
frontendData.config.showRelatedContent
421-
}
422-
keywordIds={frontendData.config.keywordIds}
423-
contentType={frontendData.contentType}
424-
tags={frontendData.tags}
425-
format={format}
426-
pillar={format.theme}
427-
editionId={frontendData.editionId}
428-
shortUrlId={frontendData.config.shortUrlId}
429-
discussionApiUrl={frontendData.config.discussionApiUrl}
430-
absoluteServerTimes={
431-
switches['absoluteServerTimes'] ?? false
432-
}
433-
renderingTarget={renderingTarget}
434-
/>
435-
</Island>
436-
)}
410+
411+
<Island priority="feature" defer={{ until: 'visible' }}>
412+
<OnwardsUpper
413+
ajaxUrl={frontendData.config.ajaxUrl}
414+
hasRelated={frontendData.hasRelated}
415+
hasStoryPackage={frontendData.hasStoryPackage}
416+
isAdFreeUser={frontendData.isAdFreeUser}
417+
pageId={frontendData.pageId}
418+
isPaidContent={!!frontendData.config.isPaidContent}
419+
showRelatedContent={frontendData.config.showRelatedContent}
420+
keywordIds={frontendData.config.keywordIds}
421+
contentType={frontendData.contentType}
422+
tags={frontendData.tags}
423+
format={format}
424+
pillar={format.theme}
425+
editionId={frontendData.editionId}
426+
shortUrlId={frontendData.config.shortUrlId}
427+
discussionApiUrl={frontendData.config.discussionApiUrl}
428+
absoluteServerTimes={
429+
switches['absoluteServerTimes'] ?? false
430+
}
431+
renderingTarget={renderingTarget}
432+
/>
433+
</Island>
434+
437435
{/** More Galleries container goes here */}
438436
{showComments && (
439437
<Section

0 commit comments

Comments
 (0)