fix(fs.dev): Always close menu when navigating
This commit is contained in:
parent
672e0a3daf
commit
030458255c
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ function useApp(full = true) {
|
||||||
setPrimaryMenu,
|
setPrimaryMenu,
|
||||||
setSlug,
|
setSlug,
|
||||||
setTheme,
|
setTheme,
|
||||||
startLoading: () => setLoading(true),
|
startLoading: () => { setLoading(true); setPrimaryMenu(false) }, // Always close menu when navigating
|
||||||
stopLoading: () => setLoading(false),
|
stopLoading: () => setLoading(false),
|
||||||
updateNavigation,
|
updateNavigation,
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue