aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/tx-list-item.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/components/tx-list-item.js')
-rw-r--r--ui/app/components/tx-list-item.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/ui/app/components/tx-list-item.js b/ui/app/components/tx-list-item.js
index a59b6509b..26de19f15 100644
--- a/ui/app/components/tx-list-item.js
+++ b/ui/app/components/tx-list-item.js
@@ -6,7 +6,6 @@ const classnames = require('classnames')
const abi = require('human-standard-token-abi')
const abiDecoder = require('abi-decoder')
abiDecoder.addABI(abi)
-const prefixForNetwork = require('../../lib/etherscan-prefix-for-network')
const Identicon = require('./identicon')
const contractMap = require('eth-contract-metadata')
@@ -127,7 +126,6 @@ TxListItem.prototype.getTokenInfo = async function () {
TxListItem.prototype.getSendTokenTotal = async function () {
const {
txParams = {},
- tokens,
conversionRate,
tokenExchangeRates,
currentCurrency,
@@ -140,8 +138,8 @@ TxListItem.prototype.getSendTokenTotal = async function () {
const multiplier = Math.pow(10, Number(decimals || 0))
const total = Number(value / multiplier)
- const pair = symbol && `${symbol.toLowerCase()}_eth`;
-
+ const pair = symbol && `${symbol.toLowerCase()}_eth`
+
let tokenToFiatRate
let totalInFiat
@@ -244,6 +242,6 @@ TxListItem.prototype.render = function () {
]),
]),
- ]) // holding on icon from design
+ ]), // holding on icon from design
])
}