aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/tx-list-item.js
diff options
context:
space:
mode:
authorChi Kei Chan <chikeichan@gmail.com>2017-11-03 06:20:29 +0800
committerGitHub <noreply@github.com>2017-11-03 06:20:29 +0800
commit9f70762434deb1c973665a76623838289e655f22 (patch)
tree738fccaff1c153c72aea0d0699ddfec0b4c097c7 /ui/app/components/tx-list-item.js
parentdc0b3255cf908320b5b46f02765ea03b5b4db6b7 (diff)
parentacc973d543ac65f8db980c0007c248c509345411 (diff)
downloadtangerine-wallet-browser-9f70762434deb1c973665a76623838289e655f22.tar.gz
tangerine-wallet-browser-9f70762434deb1c973665a76623838289e655f22.tar.zst
tangerine-wallet-browser-9f70762434deb1c973665a76623838289e655f22.zip
Merge pull request #2530 from MetaMask/uat
Merge uat into NewUI-flat
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
])
}