aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/accounts/account-list-item.js
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2017-05-17 02:54:23 +0800
committerGitHub <noreply@github.com>2017-05-17 02:54:23 +0800
commit44148d6135d17184194bbde2c074f07d90fa8179 (patch)
treea476d521bc8d17f9598b8e1fdc98e51dded88cbf /ui/app/accounts/account-list-item.js
parentd165f3a2b6f55cd1f4d4809c61ab3a4af5f8b070 (diff)
parentb4e6ea9db787cbf7839d9caad6e1ea0385cc588e (diff)
downloadtangerine-wallet-browser-44148d6135d17184194bbde2c074f07d90fa8179.tar.gz
tangerine-wallet-browser-44148d6135d17184194bbde2c074f07d90fa8179.tar.zst
tangerine-wallet-browser-44148d6135d17184194bbde2c074f07d90fa8179.zip
Merge pull request #1440 from MetaMask/i1439-FixFiatFormatting
Fix fiat rendering
Diffstat (limited to 'ui/app/accounts/account-list-item.js')
-rw-r--r--ui/app/accounts/account-list-item.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/app/accounts/account-list-item.js b/ui/app/accounts/account-list-item.js
index 0e87af612..10a0b6cc7 100644
--- a/ui/app/accounts/account-list-item.js
+++ b/ui/app/accounts/account-list-item.js
@@ -15,7 +15,8 @@ function AccountListItem () {
}
AccountListItem.prototype.render = function () {
- const { identity, selectedAddress, accounts, onShowDetail, conversionRate } = this.props
+ const { identity, selectedAddress, accounts, onShowDetail,
+ conversionRate, currentCurrency } = this.props
const checksumAddress = identity && identity.address && ethUtil.toChecksumAddress(identity.address)
const isSelected = selectedAddress === identity.address
@@ -52,6 +53,7 @@ AccountListItem.prototype.render = function () {
}, checksumAddress),
h(EthBalance, {
value: account && account.balance,
+ currentCurrency,
conversionRate,
style: {
lineHeight: '7px',