Update src/components/UI/docs/Breadcrumbs.tsx

Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>
This commit is contained in:
Corwin Smith 2022-12-06 10:35:48 -07:00 committed by GitHub
parent 9107cf3988
commit 5186a1f74f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -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 (
<>