Skip to content

Commit f880b39

Browse files
authored
Apply suggestion from @avivkeller
Signed-off-by: Aviv Keller <me@aviv.sh>
1 parent 1fdbd0d commit f880b39

File tree

1 file changed

+1
-1
lines changed
  • packages/ui-components/src/Containers/NavBar

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ const NavBar: FC<PropsWithChildren<NavbarProps>> = ({
7474
tabIndex={-1}
7575
/>
7676
<div className={classNames(styles.main, `hidden peer-checked:flex`)}>
77-
{navItems && navItems.length > 0 && (
77+
{navItems?.length > 0 && (
7878
<div className={styles.navItems}>
7979
{navItems.map(({ text, link, target }) => (
8080
<NavItem

0 commit comments

Comments
 (0)