From 794f8343a2ff78d86bd137260d66fbcccb72bdc9 Mon Sep 17 00:00:00 2001 From: Mark Stacey Date: Wed, 26 Jun 2019 16:59:30 -0300 Subject: [PATCH] Fix seed phrase import back button 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 --- ui/app/pages/keychains/restore-vault.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/app/pages/keychains/restore-vault.js b/ui/app/pages/keychains/restore-vault.js index 574949258387..08164fd9f4ef 100644 --- a/ui/app/pages/keychains/restore-vault.js +++ b/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="#"