aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/pending-tx.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-05-13 03:41:31 +0800
committerDan Finlay <dan@danfinlay.com>2017-05-13 03:44:51 +0800
commit19db11856bef65c38d96eb1d6084d88ab6e7eebc (patch)
treeed75d3ea84c947ea5fb838b6fb83d75eb596cca2 /ui/app/components/pending-tx.js
parentdaec667c16c9a55e6357871a82ff2b863501a393 (diff)
downloadtangerine-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/pending-tx.js')
-rw-r--r--ui/app/components/pending-tx.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/app/components/pending-tx.js b/ui/app/components/pending-tx.js
index 6b8f16dae..fb555b821 100644
--- a/ui/app/components/pending-tx.js
+++ b/ui/app/components/pending-tx.js
@@ -31,6 +31,7 @@ function PendingTx () {
PendingTx.prototype.render = function () {
const props = this.props
+ const conversionRate = props.conversionRate
const txMeta = this.gatherTxMeta()
const txParams = txMeta.txParams || {}
@@ -102,6 +103,7 @@ PendingTx.prototype.render = function () {
}, [
h(EthBalance, {
value: balance,
+ conversionRate,
inline: true,
labelColor: '#F7861C',
}),