Skip to content

Commit

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

0 comments on commit 6d2c0ff

Please sign in to comment.