Merge pull request #128 from ethereum/breadcrumbHeaderBug

[Logic bug] - Breadcrumbs contains header id
pull/26459/head^2
Corwin Smith 2 years ago committed by GitHub
commit 50b50e853c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/components/UI/docs/Breadcrumbs.tsx

@ -6,7 +6,7 @@ import { FC } from 'react';
export const Breadcrumbs: FC = () => {
const router = useRouter();
let pathSplit = router.asPath.split('/');
let pathSplit = router.asPath.split('#')[0].split('/');
pathSplit = pathSplit.splice(1, pathSplit.length);
return (

Loading…
Cancel
Save