finally got around to pulling this into a separate pr from the login / register pages...
this pr adds a CurrentUserContext to hold the state of the current user. It also adds a PrivateRoute component which redirects people to the login page if they are not logged upon load.
finally got around to pulling this into a separate pr from the login / register pages...
this pr adds a
CurrentUserContext
to hold the state of the current user. It also adds aPrivateRoute
component which redirects people to the login page if they are not logged upon load.