diff --git a/dotcom-rendering/src/components/Kicker.tsx b/dotcom-rendering/src/components/Kicker.tsx index f8cd7943b8..cefa17ae57 100644 --- a/dotcom-rendering/src/components/Kicker.tsx +++ b/dotcom-rendering/src/components/Kicker.tsx @@ -10,6 +10,7 @@ import type { PodcastSeriesImage } from '../types/tag'; import { CardPicture } from './CardPicture'; import { Island } from './Island'; import { PulsingDot } from './PulsingDot.importable'; +import { isUndefined } from '@guardian/libs'; type Props = { text: string; @@ -74,8 +75,6 @@ export const Kicker = ({ */ const isLiveKicker = !!showPulsingDot; - const displayImage = accentImage?.src; - return (
- {displayImage && ( + {!isUndefined(accentImage?.src) && (