From 7c9dac9cd138138b62827a40c5116cd3f4661c2f Mon Sep 17 00:00:00 2001 From: Tero Tikkanen Date: Wed, 27 Nov 2024 12:39:31 +0200 Subject: [PATCH] Add lead text on CategoryTypeListBlock --- components/paths/contentblocks/CategoryTypeListBlock.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/paths/contentblocks/CategoryTypeListBlock.tsx b/components/paths/contentblocks/CategoryTypeListBlock.tsx index 895fa0fe..a14fc433 100644 --- a/components/paths/contentblocks/CategoryTypeListBlock.tsx +++ b/components/paths/contentblocks/CategoryTypeListBlock.tsx @@ -120,7 +120,7 @@ interface ImpactData { } const CategoryTypeListBlock = (props: CategoryTypeListBlockProps) => { - const { id = '', heading, groupByLevelId, categories } = props; + const { id = '', heading, groupByLevelId, categories, lead } = props; const paths = usePaths(); const t = useTranslations(); @@ -196,6 +196,7 @@ const CategoryTypeListBlock = (props: CategoryTypeListBlockProps) => { {heading && {heading}} + {lead &&

{lead}

}