jeremcohen13 / PickupSportSite

1 stars 0 forks source link

fix reload path page stuffs #6

Closed stumash closed 4 years ago

stumash commented 4 years ago

there's an issue on reload.

when you reload the site, the state variable loggedIn is correctly re-initialised to false, and so you are brought to the login page and must re-enter the login credentials. However, once you do re-enter them, instead of being brought to the homepage, you are brought to the page from which you reloaded the site. Moreover, the url on that page is the homepage url, as if you were correctly brought to the homepage on re-login.

stumash commented 4 years ago

wip on branch 6-fix-reload-path-page-stuffs