mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 04:20:53 +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:
parent
6d191f2617
commit
a6bfc6f441
@ -123,6 +123,7 @@ class RestoreVaultPage extends Component {
|
|||||||
className="import-account__back-button"
|
className="import-account__back-button"
|
||||||
onClick={e => {
|
onClick={e => {
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
|
this.props.leaveImportSeedScreenState()
|
||||||
this.props.history.goBack()
|
this.props.history.goBack()
|
||||||
}}
|
}}
|
||||||
href="#"
|
href="#"
|
||||||
|
Loading…
Reference in New Issue
Block a user