Complete format and api call(70%)
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user