Fix seed phrase import back button (#6758)

The back button on the import seed phrase page leaves the Redux store
with `appState.forgottenPassword` set to true, which prevents the user
from logging in. That flag is now unset when the user leaves the page.

Fixes #6740
feature/default_network_editable
Mark Stacey 6 years ago committed by GitHub
parent 6d191f2617
commit a6bfc6f441
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      ui/app/pages/keychains/restore-vault.js

@ -123,6 +123,7 @@ class RestoreVaultPage extends Component {
className="import-account__back-button"
onClick={e => {
e.preventDefault()
this.props.leaveImportSeedScreenState()
this.props.history.goBack()
}}
href="#"

Loading…
Cancel
Save