Skip to content

Commit

Permalink
add crossword design to switch case of supported designs
Browse files Browse the repository at this point in the history
  • Loading branch information
SiAdcock committed Jan 7, 2025
1 parent e704a00 commit 908da71
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dotcom-rendering/src/lib/articleFormat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ export const decideDesign = ({ design }: Partial<FEFormat>): ArticleDesign => {
return ArticleDesign.Audio;
case 'VideoDesign':
return ArticleDesign.Video;
case 'CrosswordDesign':
return ArticleDesign.Crossword;
case 'ReviewDesign':
return ArticleDesign.Review;
case 'AnalysisDesign':
Expand Down

0 comments on commit 908da71

Please sign in to comment.