Implemented protected route component, added protected routes. Fixed redircts. Removed token from localstorage, not being used

This commit is contained in:
Alex Holliday committed 2024-06-24 13:03:42 -07:00
1 parent 5beaa8dfe1
commit b84a5e017d
4 files changed
+26 -14

No files matched your search

+1 -1
View File
@@ -55,7 +55,7 @@ function NavBar() {
// Clear auth state
dispatch(clearAuthState());
dispatch(clearMonitorState());
navigate("/");
navigate("/login");
};
/**