mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
UI: Fix navbar issues
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'fumadocs-ui': patch
|
||||
---
|
||||
|
||||
Fix navbar issues
|
||||
@@ -150,7 +150,7 @@ function SidebarHeader({
|
||||
links,
|
||||
...props
|
||||
}: SharedNavProps & { links: LinkItemType[] }): ReactNode {
|
||||
if (!props.title || !props.children || links.length === 0) return null;
|
||||
if (!props.title && !props.children && links.length === 0) return null;
|
||||
|
||||
return (
|
||||
<div className="flex flex-row items-center border-b pb-2 max-md:hidden">
|
||||
|
||||
Reference in New Issue
Block a user