mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-20 06:49:27 +00:00
Merge pull request #128 from ethereum/breadcrumbHeaderBug
[Logic bug] - Breadcrumbs contains header id
This commit is contained in:
commit
50b50e853c
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ import { FC } from 'react';
|
||||||
export const Breadcrumbs: FC = () => {
|
export const Breadcrumbs: FC = () => {
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
|
||||||
let pathSplit = router.asPath.split('/');
|
let pathSplit = router.asPath.split('#')[0].split('/');
|
||||||
pathSplit = pathSplit.splice(1, pathSplit.length);
|
pathSplit = pathSplit.splice(1, pathSplit.length);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue