diff options
author | Dan <danjm.com@gmail.com> | 2018-05-14 21:30:50 +0800 |
---|---|---|
committer | Dan <danjm.com@gmail.com> | 2018-05-14 22:14:50 +0800 |
commit | 6bc8cc819a16118acc010d0efdec90afbda14590 (patch) | |
tree | 2d2c35604af2e6a44c5f3ecb5c901a52980710d8 /old-ui/app/accounts | |
parent | 0739618a61cfc383498e466f4fdeb5a25324598f (diff) | |
download | tangerine-wallet-browser-6bc8cc819a16118acc010d0efdec90afbda14590.tar.gz tangerine-wallet-browser-6bc8cc819a16118acc010d0efdec90afbda14590.tar.zst tangerine-wallet-browser-6bc8cc819a16118acc010d0efdec90afbda14590.zip |
Merge branch 'develop' into i3725-refactor-send-component-
Diffstat (limited to 'old-ui/app/accounts')
-rw-r--r-- | old-ui/app/accounts/import/json.js | 2 | ||||
-rw-r--r-- | old-ui/app/accounts/import/private-key.js | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/old-ui/app/accounts/import/json.js b/old-ui/app/accounts/import/json.js index 3ee3b95df..8388f17a7 100644 --- a/old-ui/app/accounts/import/json.js +++ b/old-ui/app/accounts/import/json.js @@ -96,6 +96,8 @@ class JsonImportSubview extends Component { } this.props.importNewAccount([ fileContents, password ]) + // JS runtime requires caught rejections but failures are handled by Redux + .catch() } } diff --git a/old-ui/app/accounts/import/private-key.js b/old-ui/app/accounts/import/private-key.js index 105191105..92e42549d 100644 --- a/old-ui/app/accounts/import/private-key.js +++ b/old-ui/app/accounts/import/private-key.js @@ -64,4 +64,6 @@ PrivateKeyImportView.prototype.createNewKeychain = function () { const input = document.getElementById('private-key-box') const privateKey = input.value this.props.dispatch(actions.importNewAccount('Private Key', [ privateKey ])) + // JS runtime requires caught rejections but failures are handled by Redux + .catch() } |