diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-05-13 03:41:31 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-05-13 03:44:51 +0800 |
commit | 19db11856bef65c38d96eb1d6084d88ab6e7eebc (patch) | |
tree | ed75d3ea84c947ea5fb838b6fb83d75eb596cca2 /ui/app/components/transaction-list-item.js | |
parent | daec667c16c9a55e6357871a82ff2b863501a393 (diff) | |
download | tangerine-wallet-browser-19db11856bef65c38d96eb1d6084d88ab6e7eebc.tar.gz tangerine-wallet-browser-19db11856bef65c38d96eb1d6084d88ab6e7eebc.tar.zst tangerine-wallet-browser-19db11856bef65c38d96eb1d6084d88ab6e7eebc.zip |
Remove redux dependency from eth-balance and its dependent tree
For better unit testability of the conf-tx view.
Diffstat (limited to 'ui/app/components/transaction-list-item.js')
-rw-r--r-- | ui/app/components/transaction-list-item.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/app/components/transaction-list-item.js b/ui/app/components/transaction-list-item.js index 7fb2e88d9..3db4c016e 100644 --- a/ui/app/components/transaction-list-item.js +++ b/ui/app/components/transaction-list-item.js @@ -19,7 +19,7 @@ function TransactionListItem () { } TransactionListItem.prototype.render = function () { - const { transaction, network } = this.props + const { transaction, network, conversionRate } = this.props if (transaction.key === 'shapeshift') { if (network === '1') return h(ShiftListItem, transaction) } @@ -80,6 +80,7 @@ TransactionListItem.prototype.render = function () { isTx ? h(EtherBalance, { value: txParams.value, + conversionRate, width: '55px', shorten: true, showFiat: false, |