diff --git a/components/TOC.tsx b/components/TOC.tsx index f51acadc0fe..696f297768c 100644 --- a/components/TOC.tsx +++ b/components/TOC.tsx @@ -75,7 +75,7 @@ export default function TOC({ className, cssBreakingPoint = 'xl', toc, contentSe
item.slug)} + items={tocItems.map((item) => item.slugWithATag)} currentClassName='text-primary-500 font-bold' componentTag='div' rootEl={contentSelector} @@ -85,7 +85,7 @@ export default function TOC({ className, cssBreakingPoint = 'xl', toc, contentSe