mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Default to no show menu under 1000px
This commit is contained in:
parent
a7e640320c
commit
619fb3ad45
1 changed files with 2 additions and 2 deletions
|
|
@ -19,9 +19,9 @@ export default function Home(): JSX.Element {
|
|||
usePersistedState<boolean>({
|
||||
key: 'nav-show-menu',
|
||||
isSessionStorage: false,
|
||||
initialValue: true,
|
||||
initialValue: false,
|
||||
defaultEvaluator: () => {
|
||||
return !isTouchScreenDevice()
|
||||
return window.innerWidth > 1000
|
||||
},
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue