handle bug where header id caused breadcrumbs to render on /docs (#185)

This commit is contained in:
Corwin Smith 2022-12-17 09:34:47 -07:00 committed by GitHub
parent 57b5b1de8d
commit e61c7e6bd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ export const Breadcrumbs: FC = () => {
return (
<>
{router.asPath !== '/docs' ? (
{router.asPath !== '/docs' && pathSplit.length > 1? (
<Breadcrumb>
{pathSplit.map((path: string, idx: number) => {
return (