index html only on real routes otherwise redirect + better logging

This commit is contained in:
2022-11-07 17:24:36 +01:00
parent 5f6df46d60
commit 1452c0c143
7 changed files with 83 additions and 49 deletions
-2
View File
@@ -18,7 +18,5 @@ export const useUser = () => {
}
}, [])
console.log(user)
return [user, logout]
}