Skip to content

Commit

Permalink
revert: error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
septs committed May 12, 2022
1 parent da0c841 commit 9582311
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@ export const PersonaRecovery = () => {
await delay(300)
navigate(`${DashboardRoutes.SignUp}/${SignUpRoutePath.ConnectSocialMedia}`)
} catch (error) {
if (error instanceof Error) {
setError(error.message)
}
setError((error as Error).message)
}
},
[state?.mnemonic, state?.privateKey],
Expand Down

0 comments on commit 9582311

Please sign in to comment.