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

Uncomment lines relating to showing indicator.

This commit is contained in:
Kevin Serrano 2017-03-21 13:38:27 -07:00 committed by GitHub
parent 605c2a7404
commit b0c0c30689

View File

@ -215,7 +215,7 @@ function confirmSeedWords () {
dispatch(actions.showLoadingIndication())
log.debug(`background.clearSeedWordCache`)
background.clearSeedWordCache((err, account) => {
// dispatch(actions.hideLoadingIndication())
dispatch(actions.hideLoadingIndication())
if (err) {
return dispatch(actions.displayWarning(err.message))
}
@ -231,7 +231,7 @@ function createNewVaultAndRestore (password, seed) {
dispatch(actions.showLoadingIndication())
log.debug(`background.createNewVaultAndRestore`)
background.createNewVaultAndRestore(password, seed, (err) => {
// dispatch(actions.hideLoadingIndication())
dispatch(actions.hideLoadingIndication())
if (err) return dispatch(actions.displayWarning(err.message))
dispatch(actions.showAccountsPage())
})