-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
In UserContext create a function updateProfile that sends a put request to the server to update the user's profile. It should accept parameters for all user fields. (userName, email, password, avatar, bio) these parameters can be null
Definition of Done:
- UserContext exports updateProfile function
- updateProfile loads the URL to the server for an .env file. NOTE vite env vars must be prefixed with
VITE_APP_ - updateProfile updates the UserContext with user's information and their sign in state
Metadata
Metadata
Assignees
Labels
No labels