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

View file

@ -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 (