|
|
@ -300,6 +300,7 @@ function importNewAccount (strategy, args) { |
|
|
|
if (err) return dispatch(actions.displayWarning(err.message)) |
|
|
|
if (err) return dispatch(actions.displayWarning(err.message)) |
|
|
|
log.debug(`background.getState`) |
|
|
|
log.debug(`background.getState`) |
|
|
|
background.getState((err, newState) => { |
|
|
|
background.getState((err, newState) => { |
|
|
|
|
|
|
|
dispatch(actions.hideLoadingIndication()) |
|
|
|
if (err) { |
|
|
|
if (err) { |
|
|
|
return dispatch(actions.displayWarning(err.message)) |
|
|
|
return dispatch(actions.displayWarning(err.message)) |
|
|
|
} |
|
|
|
} |
|
|
|