Skip to content

Commit

Permalink
admin
Browse files Browse the repository at this point in the history
  • Loading branch information
okrayum committed Apr 12, 2024
1 parent fecdf42 commit ae93eba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/NavBar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const NavBar = ({ isAdmin, setIsAdmin, showLogIn, showLogOut, setShowLogIn, setL
setShowLogIn(true)
setLogOut(false)
setIsOpen(true)
localStorage.setItem('isAdmin', true);
localStorage.setItem('isAdmin', false);
localStorage.setItem('showLogOut', true);
}

Expand Down

0 comments on commit ae93eba

Please sign in to comment.