CSFrequency / react-firebase-hooks

React Hooks for Firebase.
Apache License 2.0
3.55k stars 304 forks source link

useAuthState wont update user.emailVerified until page is refreshed #293

Closed ZionLG closed 1 year ago

ZionLG commented 1 year ago

Im making a sign up page using useCreateUserWithEmailAndPassword (with sendEmailVerification) and useAuthState, i have a conditional rendering in that page to show up whenever a user is signed in to show his email and if he is verified, when I sign up the form the conditional rendering triggers without the need to refresh, but when i verify it from the link i got sent, it won't update until I refresh the page is it possible to get emailVerified property to update automatically without refreshing the page when I enter the verification link?