Closed CryptAlchemy closed 2 years ago
Add catch for createAuth0Client promise to handle rejections. The catch sets isLoading store to false and sets authError to the received promise error.
catch
createAuth0Client
isLoading
false
authError
Thanks for your contribution.
Add
catch
forcreateAuth0Client
promise to handle rejections. Thecatch
setsisLoading
store tofalse
and setsauthError
to the received promise error.