diff --git a/libs/blocks/src/lib/accordion/index.tsx b/libs/blocks/src/lib/accordion/index.tsx index 008754210..7fccf3e8f 100644 --- a/libs/blocks/src/lib/accordion/index.tsx +++ b/libs/blocks/src/lib/accordion/index.tsx @@ -105,13 +105,13 @@ export function AccordionBlock({
{content && content.data[selectedChip].map((accData) => { - const { title: accTitle } = accData; - const id = slugify(accTitle as string); + const { title: accTitle, id } = accData; + const dataId = id || slugify(accTitle as string); return ( handleExpand(isExpanded, id)}