1
0
Fork 0

fix(fs.dev): Always close menu when navigating

This commit is contained in:
Joost De Cock 2021-12-27 08:52:03 +01:00
parent 672e0a3daf
commit 030458255c

View file

@ -84,7 +84,7 @@ function useApp(full = true) {
setPrimaryMenu,
setSlug,
setTheme,
startLoading: () => setLoading(true),
startLoading: () => { setLoading(true); setPrimaryMenu(false) }, // Always close menu when navigating
stopLoading: () => setLoading(false),
updateNavigation,