diff --git a/components/contentblocks/IndicatorGroupBlock.tsx b/components/contentblocks/IndicatorGroupBlock.tsx index f8a9fd47..fa04e24a 100644 --- a/components/contentblocks/IndicatorGroupBlock.tsx +++ b/components/contentblocks/IndicatorGroupBlock.tsx @@ -96,15 +96,12 @@ type Props = { // TODO: Format as list for a11y const IndicatorGroupBlock = ({ id = '', title, indicators }: Props) => { const t = useTranslations(); - - const displayHeader = title && title !== '-' ? title : t('indicators'); + const displayHeader = title === '-' ? null : title || t('indicators'); return ( - {displayHeader && displayHeader !== '-' ? ( - {displayHeader} - ) : null} + {displayHeader ? {displayHeader} : null} {indicators.map((item) => (