Skip to content
New issue

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

Add user profile page #10

Merged
merged 8 commits into from
Sep 24, 2024
Merged

Conversation

nicolelim02
Copy link

@nicolelim02 nicolelim02 commented Sep 21, 2024

  • Add user profile page
  • Set up auth context
  • Edit cors

setUserProfile(res.data.data);
})
.catch(() => setUserProfile(null));
}, []);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe include the userId in the dependency array here? So that useEffect will run when userId changes

@ruiqi7 ruiqi7 merged commit e4fbc17 into CS3219-AY2425S1:development Sep 24, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants