Complete format and api call(70%)

This commit is contained in:
Ebube
2023-04-24 23:39:40 +01:00
parent 32cfed3394
commit 636651aa38
6 changed files with 111 additions and 15 deletions
-1
View File
@@ -8,7 +8,6 @@ const AuthRoute = ({ redirectPath = "/login", children }) => {
const navigate = useNavigate();
const { pathname } = useLocation();
//Removing Data stored at localStorage after session expires
const expireSession = () => {
localStorage.removeItem("email");