feat: feature/mvp-sprint-1

This commit is contained in:
Nikolaj Frey 2023-08-23 08:11:36 +10:00
parent a69c4067df
commit d01752e5f7

View File

@ -32,9 +32,13 @@ export const usePath = (props?: any) => {
set = true
}
})
// if (!set) {
// setMode("things")
// }
if (!set) {
setMode((mode) => {
if (!mode) {
return "things"
}
})
}
}, [pathname, modes])
const changePath = React.useCallback(