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 set = true
} }
}) })
// if (!set) { if (!set) {
// setMode("things") setMode((mode) => {
// } if (!mode) {
return "things"
}
})
}
}, [pathname, modes]) }, [pathname, modes])
const changePath = React.useCallback( const changePath = React.useCallback(