wagpa/react-recard

Refreshing the page redirects to `/login`

Opened this issue · 0 comments

Steps to reproduce

  1. Login
  2. Navigate to /home
  3. Refresh the page

This is because the Navigate-component is rendered before the tryLogin-function restores the old session to the auth-store.