mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-22 17:33:23 +01:00
Fix account loading bug
This commit is contained in:
parent
601d870592
commit
7f32560b03
@ -31,7 +31,7 @@ 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]).address
|
var selected = state.address || Object.keys(state.accounts)[0]
|
||||||
var identity = state.identities[state.address]
|
var identity = state.identities[state.address]
|
||||||
var account = state.accounts[state.address]
|
var account = state.accounts[state.address]
|
||||||
var accountDetail = state.accountDetail
|
var accountDetail = state.accountDetail
|
||||||
|
Loading…
Reference in New Issue
Block a user