-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
bugBug to be fixedBug to be fixedcommunity feedback wantedhelp wantedExtra attention is neededExtra attention is needed
Description
The UserContext Hook currently sends an api endpoint request to /api/user/getuser when the navbar component mounts. This action produces an error in the console anytime a user is not logged in.
Solution:
Refactor the UserContext hook to only send the get api request when a user has successfully logged in.
Metadata
Metadata
Assignees
Labels
bugBug to be fixedBug to be fixedcommunity feedback wantedhelp wantedExtra attention is neededExtra attention is needed