From 7f32560b037b3a9b097a33a2e640d2e0c89ccd70 Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Tue, 10 May 2016 10:31:53 -0700 Subject: [PATCH] Fix account loading bug --- ui/app/account-detail.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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