1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00

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
This commit is contained in:
Mark Stacey 2019-06-27 12:26:25 -03:00 committed by GitHub
parent 6d191f2617
commit a6bfc6f441
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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="#"