maybe
maybe copied to clipboard
Fix session load
Description
If you refresh the page, or redirect to another page directly using a URL, you're redirect back to /login
and then to /
.
This happens because the session doesn't load instantly and the useEffect
in WithAuth
redirects to /login
.