-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Makes the header reactive #7
Conversation
…ogin into the website
@ErikBjare there is a failing test but I have tested it. It works, not sure what triggered it. |
Don't worry about the failing test. I don't think I set it up properly to begin with. |
Let me know when you get time to review the changes |
@ErikBjare I have more commits... I don't know if I should just keep stacking them on this single pull request or I should wait first. Just let me know 👍 |
I'll merge this so you can keep working in new PRs :) |
* Makes the header reactive, previously it would not update after you login into the website * Persist auth status between sessions * fix the failing test
* Makes the header reactive, previously it would not update after you login into the website * Persist auth status between sessions * fix the failing test
* Makes the header reactive, previously it would not update after you login into the website * Persist auth status between sessions * fix the failing test
The header previously would not update after you login. Did some digging and turns it because it's already mounted after the updates. It is not actively watching for changes to the user login state. So I refactored it to be embedded in some of the pages that need an updated state.