diff --git a/apps/site/src/app/design-system/[brand]/[...component]/components/content-tabs/components/intro/components/table-of-contents/table-of-contents.component.tsx b/apps/site/src/app/design-system/[brand]/[...component]/components/content-tabs/components/intro/components/table-of-contents/table-of-contents.component.tsx index 2fa6df8ff..9517cde09 100644 --- a/apps/site/src/app/design-system/[brand]/[...component]/components/content-tabs/components/intro/components/table-of-contents/table-of-contents.component.tsx +++ b/apps/site/src/app/design-system/[brand]/[...component]/components/content-tabs/components/intro/components/table-of-contents/table-of-contents.component.tsx @@ -1,7 +1,7 @@ 'use client'; - import { List, ListItem } from '@westpac/ui'; -import { MouseEventHandler, useCallback } from 'react'; +import Link from 'next/link'; +import { usePathname } from 'next/navigation'; import { ArrowDownRightIcon } from '@/components/icons'; @@ -10,7 +10,7 @@ import { type TableOfContentsProps } from './table-of-contents.types'; export function TableOfContents({ contents = [] }: TableOfContentsProps) { return (