We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As a Logged-in User,
I want to see my updated name in the NavBar automatically,
so that I do not have to refresh the page after changing it
firstname
lastname
try { const { data } = await axiosReq.put(`/profiles/${id}/`, formData); setCurrentUser((currentUser) => ({ ...currentUser, profile_image: data.image, // also update firstname and lastname of currentUser profile_firstname: data.firstname, profile_lastname: data.lastname, })); history.goBack(); }
The text was updated successfully, but these errors were encountered:
refresh user's name in nav bar after change #82
5e0644c
add firstname and lastname to the PUT reques
blahosyl
No branches or pull requests
As a Logged-in User,
I want to see my updated name in the NavBar automatically,
so that I do not have to refresh the page after changing it
Acceptance Criteria
firstname
orlastname
in their profile, the change should be reflected in the Nav Bar without refreshing the page.Tasks
The text was updated successfully, but these errors were encountered: