Skip to content

Commit

Permalink
fix topbar hide
Browse files Browse the repository at this point in the history
  • Loading branch information
kingsleydon committed Nov 27, 2024
1 parent 66e69c9 commit 91fad3f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/app/components/TopBar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -211,12 +211,12 @@ const TopBar: FC = () => {
display={{xs: 'none', md: 'flex'}}
>
{navItems.map((item) => {
if (item.sub == null) {
return <NavItem key={item.label} item={item} />
}
if (item.hide) {
return null
}
if (item.sub == null) {
return <NavItem key={item.label} item={item} />
}
return (
<Tooltip
disableFocusListener={item.disabled}
Expand Down

0 comments on commit 91fad3f

Please sign in to comment.