diff --git a/src/components/UI/docs/Breadcrumbs.tsx b/src/components/UI/docs/Breadcrumbs.tsx index 2a23848177..c451bb78fd 100644 --- a/src/components/UI/docs/Breadcrumbs.tsx +++ b/src/components/UI/docs/Breadcrumbs.tsx @@ -7,8 +7,7 @@ export const Breadcrumbs: FC = () => { const router = useRouter(); let pathSplit = router.asPath.split('#')[0].split('/'); - pathSplit = pathSplit.splice(1, pathSplit.length) - .map((path) => path.includes('#') ? path.split('#')[0] : path); + pathSplit = pathSplit.splice(1, pathSplit.length); return ( <>