This PR fixes the blank page after login bug. The lifecycle of logging in wasn't updating the mall correctly and during this lifecycle the landing page doesn't need to mall but just the auth context to determine if the user is authed.
Second bug fix I found was users were able to navigate to the /onboard where in the past it would not let users that were already onboarded access this route.
Pull request checklist
Please check if your PR fulfills the following requirements:
[ ] Tests for the changes have been added (for bug fixes / features)
[x] Build is passing
Pull request type
Please check the type of change your PR introduces:
[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):
What is the current behavior?
When a user logs in they are presented a black page.
There is a bug where user can still navigate to /onboard even if they aren't new
What is the new behavior?
When user logs in they no longer see the blank page
Users that are not new won't see the onboard anymore
This PR fixes the blank page after login bug. The lifecycle of logging in wasn't updating the mall correctly and during this lifecycle the landing page doesn't need to mall but just the auth context to determine if the user is authed.
Second bug fix I found was users were able to navigate to the
/onboard
where in the past it would not let users that were already onboarded access this route.Pull request checklist
Please check if your PR fulfills the following requirements:
Pull request type
Please check the type of change your PR introduces:
What is the current behavior?
/onboard
even if they aren't newWhat is the new behavior?
Does this introduce a breaking change?
Other information