1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Add one more loading indication.

This commit is contained in:
Kevin Serrano 2017-03-22 12:18:13 -04:00 committed by GitHub
parent b0c0c30689
commit f2e40e85b7

View File

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