diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-09-13 05:22:06 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-09-13 05:22:06 +0800 |
commit | 0d11eab8cbb8f88c77a5d9eebf87a5796a585c93 (patch) | |
tree | ca1f6d88bd3b421a7c8cff2220615fee2784f2bf /ui | |
parent | 6fcbb43c504b7a76cc28e47f1d63adf06264415f (diff) | |
download | tangerine-wallet-browser-0d11eab8cbb8f88c77a5d9eebf87a5796a585c93.tar tangerine-wallet-browser-0d11eab8cbb8f88c77a5d9eebf87a5796a585c93.tar.gz tangerine-wallet-browser-0d11eab8cbb8f88c77a5d9eebf87a5796a585c93.tar.bz2 tangerine-wallet-browser-0d11eab8cbb8f88c77a5d9eebf87a5796a585c93.tar.lz tangerine-wallet-browser-0d11eab8cbb8f88c77a5d9eebf87a5796a585c93.tar.xz tangerine-wallet-browser-0d11eab8cbb8f88c77a5d9eebf87a5796a585c93.tar.zst tangerine-wallet-browser-0d11eab8cbb8f88c77a5d9eebf87a5796a585c93.zip |
Add accounts back to metamask state
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/accounts/account-list-item.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ui/app/accounts/account-list-item.js b/ui/app/accounts/account-list-item.js index 0b4acdfec..63959da97 100644 --- a/ui/app/accounts/account-list-item.js +++ b/ui/app/accounts/account-list-item.js @@ -7,14 +7,14 @@ const EthBalance = require('../components/eth-balance') const CopyButton = require('../components/copyButton') const Identicon = require('../components/identicon') -module.exports = NewComponent +module.exports = AccountListItem -inherits(NewComponent, Component) -function NewComponent () { +inherits(AccountListItem, Component) +function AccountListItem () { Component.call(this) } -NewComponent.prototype.render = function () { +AccountListItem.prototype.render = function () { const identity = this.props.identity var isSelected = this.props.selectedAddress === identity.address var account = this.props.accounts[identity.address] @@ -73,7 +73,7 @@ NewComponent.prototype.render = function () { ) } -NewComponent.prototype.pendingOrNot = function () { +AccountListItem.prototype.pendingOrNot = function () { const pending = this.props.pending if (pending.length === 0) return null return h('.pending-dot', pending.length) |