Describe the bug
When logging out from the edit settings page, regardless of whether or not you made any settings changes, will throw an error saying that it cannot read undefined via emailVerified.
To Reproduce
Steps to reproduce the behavior:
Go to 'Edit' to reach edit settings of user profile.
Click on 'Logout'
See error
Expected behavior
What should happen is that it will send you back to home page without any errors.
Screenshots
Desktop (please complete the following information):
OS: MacOS
Browser: Chrome, Safari, Firefox
Version: Commit a992c48
Additional context
I tried setting a const and comparing the emailVerified to false and displaying the email verification message like how the user name is displayed on the user profile page but that forced another error where the user name is undefined.
Describe the bug When logging out from the edit settings page, regardless of whether or not you made any settings changes, will throw an error saying that it cannot read undefined via emailVerified.
To Reproduce Steps to reproduce the behavior:
Expected behavior What should happen is that it will send you back to home page without any errors.
Screenshots
Desktop (please complete the following information):
Additional context I tried setting a const and comparing the emailVerified to false and displaying the email verification message like how the user name is displayed on the user profile page but that forced another error where the user name is undefined.