Refreshing the page redirects to `/login`
Opened this issue · 0 comments
cryeprecision commented
Steps to reproduce
- Login
- Navigate to
/home
- Refresh the page
This is because the Navigate
-component is rendered before the tryLogin
-function restores the old session to the auth
-store.