diff options
author | Sara Reynolds <sarareynolds@Saras-MacBook-Pro-2.local> | 2018-07-04 00:47:30 +0800 |
---|---|---|
committer | Sara Reynolds <sarareynolds@Saras-MacBook-Pro-2.local> | 2018-07-04 00:50:59 +0800 |
commit | d126887bc3a795d27f54a4ca5178503e522d41d9 (patch) | |
tree | 5e4d2189cf03727039d5a2104d92db01a23059ef /ui/app | |
parent | 1f0cf11af1c94e750bbc4c5238c3ee028350a6c6 (diff) | |
download | tangerine-wallet-browser-d126887bc3a795d27f54a4ca5178503e522d41d9.tar tangerine-wallet-browser-d126887bc3a795d27f54a4ca5178503e522d41d9.tar.gz tangerine-wallet-browser-d126887bc3a795d27f54a4ca5178503e522d41d9.tar.bz2 tangerine-wallet-browser-d126887bc3a795d27f54a4ca5178503e522d41d9.tar.lz tangerine-wallet-browser-d126887bc3a795d27f54a4ca5178503e522d41d9.tar.xz tangerine-wallet-browser-d126887bc3a795d27f54a4ca5178503e522d41d9.tar.zst tangerine-wallet-browser-d126887bc3a795d27f54a4ca5178503e522d41d9.zip |
fixes 4663
Diffstat (limited to 'ui/app')
-rw-r--r-- | ui/app/components/pages/create-account/import-account/json.js | 1 | ||||
-rw-r--r-- | ui/app/components/pages/create-account/import-account/private-key.js | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/ui/app/components/pages/create-account/import-account/json.js b/ui/app/components/pages/create-account/import-account/json.js index 1dc2ba534..453fceb83 100644 --- a/ui/app/components/pages/create-account/import-account/json.js +++ b/ui/app/components/pages/create-account/import-account/json.js @@ -109,6 +109,7 @@ class JsonImportSubview extends Component { .then(({ selectedAddress }) => { if (selectedAddress) { history.push(DEFAULT_ROUTE) + displayWarning(null) } else { displayWarning('Error importing account.') setSelectedAddress(firstAddress) diff --git a/ui/app/components/pages/create-account/import-account/private-key.js b/ui/app/components/pages/create-account/import-account/private-key.js index 5df3777da..7a470c2ad 100644 --- a/ui/app/components/pages/create-account/import-account/private-key.js +++ b/ui/app/components/pages/create-account/import-account/private-key.js @@ -99,6 +99,7 @@ PrivateKeyImportView.prototype.createNewKeychain = function () { .then(({ selectedAddress }) => { if (selectedAddress) { history.push(DEFAULT_ROUTE) + displayWarning(null) } else { displayWarning('Error importing account.') setSelectedAddress(firstAddress) |