aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/account-detail.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-05-11 01:45:31 +0800
committerDan Finlay <dan@danfinlay.com>2016-05-11 01:45:31 +0800
commitd3b541e126df844caaf1d8299290a7c7dbcd9698 (patch)
treef45b42a2c5661f9827ccd131910e6033083d7d49 /ui/app/account-detail.js
parent7f32560b037b3a9b097a33a2e640d2e0c89ccd70 (diff)
downloadtangerine-wallet-browser-d3b541e126df844caaf1d8299290a7c7dbcd9698.tar.gz
tangerine-wallet-browser-d3b541e126df844caaf1d8299290a7c7dbcd9698.tar.zst
tangerine-wallet-browser-d3b541e126df844caaf1d8299290a7c7dbcd9698.zip
Fix transition bugs after vault restore
Diffstat (limited to 'ui/app/account-detail.js')
-rw-r--r--ui/app/account-detail.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/account-detail.js b/ui/app/account-detail.js
index e309d5f16..2775e24fb 100644
--- a/ui/app/account-detail.js
+++ b/ui/app/account-detail.js
@@ -32,8 +32,8 @@ function AccountDetailScreen() {
AccountDetailScreen.prototype.render = function() {
var state = this.props
var selected = state.address || Object.keys(state.accounts)[0]
- var identity = state.identities[state.address]
- var account = state.accounts[state.address]
+ var identity = state.identities[selected]
+ var account = state.accounts[selected]
var accountDetail = state.accountDetail
var transactions = state.transactions