diff --git a/src/components/UI/docs/DocsLinks.tsx b/src/components/UI/docs/DocsLinks.tsx index d76a814cbb..935a1e4bca 100644 --- a/src/components/UI/docs/DocsLinks.tsx +++ b/src/components/UI/docs/DocsLinks.tsx @@ -35,7 +35,7 @@ export const DocsLinks: FC = ({ navLinks, toggleMobileAccordion }) => { navLinks.reduce( (acc, navLink) => ({ ...acc, - [navLink.id]: checkNavLinks({ items: navLink.items, pathCheck: asPath }) + [navLink.id]: checkNavLinks({ items: navLink.items, pathCheck: asPath.split('#')[0] }) }), {} )