diff --git a/ui/app/account-detail.js b/ui/app/account-detail.js index 06ef6ff02..e309d5f16 100644 --- a/ui/app/account-detail.js +++ b/ui/app/account-detail.js @@ -31,7 +31,7 @@ function AccountDetailScreen() { AccountDetailScreen.prototype.render = function() { 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 account = state.accounts[state.address] var accountDetail = state.accountDetail