1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 12:29:06 +01:00

fixes 4663

This commit is contained in:
Sara Reynolds 2018-07-03 09:47:30 -07:00
parent 1f0cf11af1
commit d126887bc3
2 changed files with 2 additions and 0 deletions

View File

@ -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)

View File

@ -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)