Skip to content

Commit

Permalink
Add comment to explain podcast main media decision making
Browse files Browse the repository at this point in the history
  • Loading branch information
abeddow91 authored Jan 8, 2025
1 parent e61d697 commit 1ef9feb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dotcom-rendering/src/components/Card/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -846,8 +846,8 @@ export const Card = ({
{media.type === 'crossword' && (
<img src={media.imageUrl} alt="" />
)}

{media.type === 'podcast' && (
/** If the card isn't large enough to have a kicker image then we use the podcast series image as the main media. Oztherwise, use the trail image */
<>
{media.podcastImage.src && !showKickerImage ? (
<div css={[podcastImageStyles(imageSize)]}>
Expand Down

0 comments on commit 1ef9feb

Please sign in to comment.