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

Navbar now gets user from context instead of props #49

Merged
merged 4 commits into from
Aug 16, 2023

Conversation

nicolasbrandao
Copy link
Contributor

@nicolasbrandao nicolasbrandao commented Aug 16, 2023

Description

This PR closes issue #46 - navbar was getting the logged user from props instead of context

  • implement useUser on the navbar
  • remove unnecessary props from navbar

@vercel
Copy link

vercel bot commented Aug 16, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 16, 2023 2:07pm

Copy link
Contributor

@marco-souza marco-souza left a comment

Choose a reason for hiding this comment

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

That's the way! 👍🏼

@nicolasbrandao nicolasbrandao merged commit bdb7182 into main Aug 16, 2023
3 checks passed
@nicolasbrandao nicolasbrandao deleted the nicolasbrandao/navbar-gets-user-from-context branch August 16, 2023 14:12
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