Skip to content

Commit 0418c8f

Browse files
committed
Use variable
1 parent df6c691 commit 0418c8f

File tree

1 file changed

+1
-1
lines changed
  • dotcom-rendering/src/components/Card

1 file changed

+1
-1
lines changed

dotcom-rendering/src/components/Card/Card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1127,7 +1127,7 @@ export const Card = ({
11271127
loading={imageLoading}
11281128
aspectRatio={aspectRatio}
11291129
/>
1130-
{format.design !== ArticleDesign.Video &&
1130+
{!isVideoArticle &&
11311131
mainMedia?.type === 'YoutubeVideo' &&
11321132
mainMedia.duration > 0 && (
11331133
<div

0 commit comments

Comments
 (0)