mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-19 14:29:27 +00:00
handle bug where header id caused breadcrumbs to render on /docs (#185)
This commit is contained in:
parent
57b5b1de8d
commit
e61c7e6bd7
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ export const Breadcrumbs: FC = () => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{router.asPath !== '/docs' ? (
|
{router.asPath !== '/docs' && pathSplit.length > 1? (
|
||||||
<Breadcrumb>
|
<Breadcrumb>
|
||||||
{pathSplit.map((path: string, idx: number) => {
|
{pathSplit.map((path: string, idx: number) => {
|
||||||
return (
|
return (
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue