diff options
author | Alexander Tseung <alextsg@gmail.com> | 2018-05-11 07:51:26 +0800 |
---|---|---|
committer | Alexander Tseung <alextsg@gmail.com> | 2018-05-12 03:49:17 +0800 |
commit | 2381c0e0f461304265279155176fa655e2eb97b4 (patch) | |
tree | c0053ef5a62ee246bf02bc2cf7cfe6dae50ed3c9 /ui/app/actions.js | |
parent | 76ab5c04fae20dc0fd2798ad8a336a0364032aff (diff) | |
download | tangerine-wallet-browser-2381c0e0f461304265279155176fa655e2eb97b4.tar tangerine-wallet-browser-2381c0e0f461304265279155176fa655e2eb97b4.tar.gz tangerine-wallet-browser-2381c0e0f461304265279155176fa655e2eb97b4.tar.bz2 tangerine-wallet-browser-2381c0e0f461304265279155176fa655e2eb97b4.tar.lz tangerine-wallet-browser-2381c0e0f461304265279155176fa655e2eb97b4.tar.xz tangerine-wallet-browser-2381c0e0f461304265279155176fa655e2eb97b4.tar.zst tangerine-wallet-browser-2381c0e0f461304265279155176fa655e2eb97b4.zip |
Add new unlock screen design
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r-- | ui/app/actions.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js index f060e40bd..9c4de9551 100644 --- a/ui/app/actions.js +++ b/ui/app/actions.js @@ -317,6 +317,7 @@ function tryUnlockMetamask (password) { background.verifySeedPhrase(err => { if (err) { dispatch(actions.displayWarning(err.message)) + return reject(err) } resolve() @@ -330,6 +331,7 @@ function tryUnlockMetamask (password) { .catch(err => { dispatch(actions.unlockFailed(err.message)) dispatch(actions.hideLoadingIndication()) + return Promise.reject(err) }) } } |