Merge pull request #128 from ethereum/breadcrumbHeaderBug
[Logic bug] - Breadcrumbs contains header id
This commit is contained in:
commit
50b50e853c
|
@ -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…
Reference in New Issue