Skip to content

Commit

Permalink
fix: testing path
Browse files Browse the repository at this point in the history
  • Loading branch information
Valimp committed Sep 20, 2024
1 parent 6d2c0ff commit c25de6b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ export default function App() {
.then(response => {
const cookieUserName = off.getUsername();
const userData = response.data.user;
console.log("user is moderator ?: ", userData.moderator === 1);
setUserState({
userName: cookieUserName,
isLoggedIn: true,
Expand All @@ -100,6 +99,8 @@ export default function App() {
isLoggedIn: false,
isModerator: false,
})
console.log("check failed");

setAlertIsOpen(false);
lastSeenCookie.current = sessionCookie;
return false;
Expand Down

0 comments on commit c25de6b

Please sign in to comment.