mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-22 17:33:23 +01:00
Fix transition bugs after vault restore
This commit is contained in:
parent
7f32560b03
commit
d3b541e126
@ -32,8 +32,8 @@ function AccountDetailScreen() {
|
|||||||
AccountDetailScreen.prototype.render = function() {
|
AccountDetailScreen.prototype.render = function() {
|
||||||
var state = this.props
|
var state = this.props
|
||||||
var selected = state.address || Object.keys(state.accounts)[0]
|
var selected = state.address || Object.keys(state.accounts)[0]
|
||||||
var identity = state.identities[state.address]
|
var identity = state.identities[selected]
|
||||||
var account = state.accounts[state.address]
|
var account = state.accounts[selected]
|
||||||
var accountDetail = state.accountDetail
|
var accountDetail = state.accountDetail
|
||||||
var transactions = state.transactions
|
var transactions = state.transactions
|
||||||
|
|
||||||
|
@ -135,8 +135,8 @@ function recoverFromSeed(password, seed) {
|
|||||||
dispatch(this.hideLoadingIndication())
|
dispatch(this.hideLoadingIndication())
|
||||||
if (err) return dispatch(this.displayWarning(err.message))
|
if (err) return dispatch(this.displayWarning(err.message))
|
||||||
|
|
||||||
|
dispatch(this.goHome())
|
||||||
dispatch(this.unlockMetamask())
|
dispatch(this.unlockMetamask())
|
||||||
dispatch(this.showAccountsPage())
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user