Skip to content

Commit cc627d1

Browse files
authored
Merge branch 'nodejs:main' into main
2 parents 5c1a1c1 + 49b4f39 commit cc627d1

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • packages/ui-components/src/Containers/NavBar

packages/ui-components/src/Containers/NavBar/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,8 @@ const NavBar: FC<PropsWithChildren<NavbarProps>> = ({
7373
aria-label={sidebarItemTogglerAriaLabel}
7474
tabIndex={-1}
7575
/>
76-
7776
<div className={classNames(styles.main, `hidden peer-checked:flex`)}>
78-
{navItems && (
77+
{navItems && navItems.length > 0 && (
7978
<div className={styles.navItems}>
8079
{navItems.map(({ text, link, target }) => (
8180
<NavItem

0 commit comments

Comments
 (0)