feat: feature/mvp-sprint-1
This commit is contained in:
parent
a69c4067df
commit
d01752e5f7
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user