Skip to content

Commit

Permalink
Let Main Menu be closed by default (#546)
Browse files Browse the repository at this point in the history
  • Loading branch information
Matushl authored Dec 15, 2024
1 parent a3519b4 commit bab8a68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/PageLayout/MenuMain/MenuMain.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const MenuMain: FC = () => {

const {hasPermissions} = useHasPermissions()

const [isVisible, setIsVisible] = useState(true)
const [isVisible, setIsVisible] = useState(false)
const toggleMenu = () => setIsVisible((currentIsVisible) => !currentIsVisible)

const fullWidthMenu = useMediaQuery<Theme>((theme) => theme.breakpoints.down('md'))
Expand Down

0 comments on commit bab8a68

Please sign in to comment.