diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-05-11 01:31:53 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-05-11 01:31:53 +0800 |
commit | 7f32560b037b3a9b097a33a2e640d2e0c89ccd70 (patch) | |
tree | 9636d1ed9836a1f1ae7369626559178ea6ed5246 /ui | |
parent | 601d870592b5d79b4a109a2dd825cb7966457dd7 (diff) | |
download | tangerine-wallet-browser-7f32560b037b3a9b097a33a2e640d2e0c89ccd70.tar tangerine-wallet-browser-7f32560b037b3a9b097a33a2e640d2e0c89ccd70.tar.gz tangerine-wallet-browser-7f32560b037b3a9b097a33a2e640d2e0c89ccd70.tar.bz2 tangerine-wallet-browser-7f32560b037b3a9b097a33a2e640d2e0c89ccd70.tar.lz tangerine-wallet-browser-7f32560b037b3a9b097a33a2e640d2e0c89ccd70.tar.xz tangerine-wallet-browser-7f32560b037b3a9b097a33a2e640d2e0c89ccd70.tar.zst tangerine-wallet-browser-7f32560b037b3a9b097a33a2e640d2e0c89ccd70.zip |
Fix account loading bug
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/account-detail.js | 2 |
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 |