diff options
author | Frankie <frankie.diamond@gmail.com> | 2017-01-31 07:57:49 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-31 07:57:49 +0800 |
commit | 82578538198de74955d7bc5cfd3c9a02d1b69a6d (patch) | |
tree | aad1a62ee4ed4b7e34c0bd78b9f680dc2aeaaded /ui/app/accounts/account-list-item.js | |
parent | b6909574a7036c396ed85809cbd90aa2171b012f (diff) | |
parent | 0b9d37c6c8e714eb26bec5156e984a6b0cd268ad (diff) | |
download | tangerine-wallet-browser-82578538198de74955d7bc5cfd3c9a02d1b69a6d.tar.gz tangerine-wallet-browser-82578538198de74955d7bc5cfd3c9a02d1b69a6d.tar.zst tangerine-wallet-browser-82578538198de74955d7bc5cfd3c9a02d1b69a6d.zip |
Merge pull request #1069 from MetaMask/i1066
Introduce Preferences Controller
Diffstat (limited to 'ui/app/accounts/account-list-item.js')
-rw-r--r-- | ui/app/accounts/account-list-item.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/accounts/account-list-item.js b/ui/app/accounts/account-list-item.js index 74ecef07f..2a3c13d05 100644 --- a/ui/app/accounts/account-list-item.js +++ b/ui/app/accounts/account-list-item.js @@ -15,10 +15,10 @@ function AccountListItem () { } AccountListItem.prototype.render = function () { - const { identity, selectedAccount, accounts, onShowDetail } = this.props + const { identity, selectedAddress, accounts, onShowDetail } = this.props const checksumAddress = identity && identity.address && ethUtil.toChecksumAddress(identity.address) - const isSelected = selectedAccount === identity.address + const isSelected = selectedAddress === identity.address const account = accounts[identity.address] const selectedClass = isSelected ? '.selected' : '' |