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

fix(signout): Fixing UI updates after sign out #906

Merged

Conversation

arthurdenner
Copy link
Contributor

@arthurdenner arthurdenner commented Jun 14, 2018

What kind of change does this PR introduce?
This PR tries to really fix #852.

What is the current behavior?
After signing out, the UI breaks.

What is the new behavior?
After failing in fixing this in #891, I investigated this problem and as weird as it sounds, using the store.isLoggedIn instead of store.user to compute if the UserMenu should render in the Navigation component fixes the problem. Please, confirm this before deploying in case I'm wrong again. 🙈

Checklist:

  • Documentation
  • Tests
  • Ready to be merged
  • Added myself to contributors table

@CompuIves
Copy link
Member

Ha @arthurdenner, that's perfect, I think you're right with that!

I'll merge this in and will test it on staging before deploy, thanks for the contribution 😄.

@CompuIves CompuIves merged commit d379613 into codesandbox:master Jun 15, 2018
@arthurdenner arthurdenner deleted the fix/fixing-ui-updates-after-signout branch November 16, 2019 23:06
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.

After I got out of my profile, then I need to refresh the page to return to the main menu
2 participants