Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

Commit

Permalink
fix: Clear error so error when recover from seed phrase not still sho…
Browse files Browse the repository at this point in the history
…wn if then click to recover from QR code
  • Loading branch information
Luke Schoen committed Apr 8, 2019
1 parent 58e286c commit 1c8f7f2
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,10 @@ class AccountImportOptions extends Component {
createAccountStore: { setJsonString }
} = this.props;

this.setState({ isLoading: true });
this.setState({
error: '',
isLoading: true
});

try {
await setJsonString(jsonString);
Expand Down Expand Up @@ -174,6 +177,7 @@ class AccountImportOptions extends Component {

handleSignerImport = () => {
this.setState({
error: '',
importingFromSigner: true
});
};
Expand Down

0 comments on commit 1c8f7f2

Please sign in to comment.