sandrinodimattia / use-auth0-hooks

An easy way to sign in with Auth0 in your React application (client-side) using React Hooks
https://nextjs-spa-auth0-demo.now.sh/
MIT License
74 stars 31 forks source link

Fix intitial user state. #31

Closed scottandrew closed 4 years ago

scottandrew commented 4 years ago

This fixes the setting of the initial user state. The should fix the isLoading state never going to false. This was tested locally and seemed to fix the issues we have after you log off.