Skip to content

Commit

Permalink
fix(nav): disappear on mobile devices sometimes
Browse files Browse the repository at this point in the history
  • Loading branch information
memset0 committed Oct 15, 2024
1 parent b18b6f3 commit e473db6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ const Layout = ({ children }) => {
>
<Zoom
key="fab"
in={!open && !mobileOpen && !!navJson}
in={(isDesktop ? !open : !mobileOpen) && !!navJson}
appear={true}
timeout={{
enter: theme.transitions.duration.short,
Expand Down

0 comments on commit e473db6

Please sign in to comment.