aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app
diff options
context:
space:
mode:
authorMark Stacey <markjstacey@gmail.com>2019-06-27 23:26:25 +0800
committerGitHub <noreply@github.com>2019-06-27 23:26:25 +0800
commita6bfc6f441e280effa046700adb52414fdb2de6d (patch)
treefcad319caf145f5f1388c95e28ab1cd747ceaffc /ui/app
parent6d191f261793cfb1f935c5a4ac3d20a62bfe6540 (diff)
downloadtangerine-wallet-browser-a6bfc6f441e280effa046700adb52414fdb2de6d.tar.gz
tangerine-wallet-browser-a6bfc6f441e280effa046700adb52414fdb2de6d.tar.zst
tangerine-wallet-browser-a6bfc6f441e280effa046700adb52414fdb2de6d.zip
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
Diffstat (limited to 'ui/app')
-rw-r--r--ui/app/pages/keychains/restore-vault.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/app/pages/keychains/restore-vault.js b/ui/app/pages/keychains/restore-vault.js
index 574949258..08164fd9f 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="#"