mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-08 04:15:04 +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 = () => {
|
||||
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 a new issue