Skip to content

Commit

Permalink
fix article.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverabrahams committed Jan 24, 2025
1 parent 801ae92 commit 6108474
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions dotcom-rendering/src/types/article.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ export const enhanceArticleType = (
): Article => {
const format = decideFormat(data.format);

const crosswordBlock = buildCrosswordBlock(data);

const additionalBlocks = crosswordBlock ? [crosswordBlock] : [];

const imagesForLightbox = data.config.switches.lightbox
? buildLightboxImages(data.format, data.blocks, data.mainMediaElements)
: [];
Expand All @@ -51,7 +47,6 @@ export const enhanceArticleType = (
imagesForLightbox,
hasAffiliateLinksDisclaimer: !!data.affiliateLinksDisclaimer,
audioArticleImage: data.audioArticleImage,
additionalBlocks,
tags: data.tags,
});

Expand Down

0 comments on commit 6108474

Please sign in to comment.