You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently the data on Profile page is hard coded. We need to add query to fetch data from database
Are there any related issues? Please list all of them. #34
Describe the solution you'd like
add query getUserProfileById
implement state management
implement a way to display Edit profile correctly
Acceptance criteria
User can view the correct information on profile page
User can view button Edit profile only when they're on their own profile page
Describe alternatives you've considered
N/A
Additional context
May use jwt-decode to decode the token stored in localStorage to get the current logged-in user
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Currently the data on
Profile
page is hard coded. We need to add query to fetch data from databaseAre there any related issues? Please list all of them.
#34
Describe the solution you'd like
getUserProfileById
Edit profile
correctlyAcceptance criteria
Edit profile
only when they're on their own profile pageDescribe alternatives you've considered
N/A
Additional context
May use
jwt-decode
to decode the token stored in localStorage to get the current logged-in userThe text was updated successfully, but these errors were encountered: