From 4c7451adebc9a2595b13d3cbde9bd06874720c61 Mon Sep 17 00:00:00 2001 From: Zachary Belford Date: Mon, 25 Jun 2018 13:01:26 -0700 Subject: [PATCH] Solution: only display fiat for mainnet ETC --- src/components/tx/TxHistory/List/transaction.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/tx/TxHistory/List/transaction.js b/src/components/tx/TxHistory/List/transaction.js index 246255f3e..9b28a66ce 100644 --- a/src/components/tx/TxHistory/List/transaction.js +++ b/src/components/tx/TxHistory/List/transaction.js @@ -22,8 +22,9 @@ export default connect( const token = state.tokens.get('tokens').find((t) => t.get('address') === ownProps.tx.get('to')); + const showFiat = !token && launcher.selectors.getChainName(state).toLowerCase() === 'mainnet'; return { - showFiat: launcher.selectors.getChainName(state).toLowerCase() === 'mainnet', + showFiat, currentBlockHeight: state.network.getIn(['currentBlock', 'height']), tx: ownProps.tx, toAccount,