aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/app/account-detail.js2
1 files changed, 1 insertions, 1 deletions
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