Skip to content

Commit

Permalink
Let Main Menu be closed by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Matushl committed Dec 15, 2024
1 parent 3953f06 commit 9f1d0f6
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 9f1d0f6

Please sign in to comment.