context/AuthContext.tsx #1
Labels
documentation
Improvements or additions to documentation
enhancement
New feature or request
help wanted
Extra attention is needed
Manages authentication state and provides context to the app.
Notes:
isAdmin
state to control access to admin routes.localStorage
to persist across sessions.loginAsAdmin
,logout
) to the rest of the app.The text was updated successfully, but these errors were encountered: