Skip to content

Commit

Permalink
fix: remove testing modifications
Browse files Browse the repository at this point in the history
  • Loading branch information
Valimp committed Mar 6, 2024
1 parent 3c176db commit e2d5e42
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export default function App() {
isLoggedIn: false,
});
lastSeenCookie.current = sessionCookie;
return false;
}
// If the session cookie is not null, send a request to the server to check if the user is logged in
const isLoggedIn = axios
Expand All @@ -80,8 +81,6 @@ export default function App() {
lastSeenCookie.current = sessionCookie;
return false;
});
console.log("isLoggedIn after request",isLoggedIn);

return isLoggedIn;
}, [userState.isLoggedIn]);

Expand Down

0 comments on commit e2d5e42

Please sign in to comment.