aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2017-11-07 03:44:46 +0800
committerDan <danjm.com@gmail.com>2017-11-07 03:44:46 +0800
commit8c6e1232e417f5a2974b5aa1cc479dac4925df63 (patch)
treef028ceb06f809e82a77be05a9183fb4f8289ad37 /ui/app/components
parente5391cf9fdc7dfc25318caaed5dd56270946ddf8 (diff)
downloadtangerine-wallet-browser-8c6e1232e417f5a2974b5aa1cc479dac4925df63.tar.gz
tangerine-wallet-browser-8c6e1232e417f5a2974b5aa1cc479dac4925df63.tar.zst
tangerine-wallet-browser-8c6e1232e417f5a2974b5aa1cc479dac4925df63.zip
Lint fixes.
Diffstat (limited to 'ui/app/components')
-rw-r--r--ui/app/components/customize-gas-modal/index.js3
-rw-r--r--ui/app/components/input-number.js1
-rw-r--r--ui/app/components/send/send-utils.js1
3 files changed, 1 insertions, 4 deletions
diff --git a/ui/app/components/customize-gas-modal/index.js b/ui/app/components/customize-gas-modal/index.js
index dcb058690..b77e1990f 100644
--- a/ui/app/components/customize-gas-modal/index.js
+++ b/ui/app/components/customize-gas-modal/index.js
@@ -169,8 +169,7 @@ CustomizeGasModal.prototype.convertAndSetGasLimit = function (newGasLimit) {
}
CustomizeGasModal.prototype.convertAndSetGasPrice = function (newGasPrice) {
- const { gasLimit, priceSigZeros } = this.state
- const priceStrLength = newGasPrice.length
+ const { gasLimit } = this.state
const sigZeros = String(newGasPrice).match(/^\d+[.]\d*?(0+)$/)
const sigDec = String(newGasPrice).match(/^\d+([.])0*$/)
diff --git a/ui/app/components/input-number.js b/ui/app/components/input-number.js
index da4d739aa..12dec2957 100644
--- a/ui/app/components/input-number.js
+++ b/ui/app/components/input-number.js
@@ -6,7 +6,6 @@ const {
conversionGTE,
conversionLTE,
subtractCurrencies,
- toNegative,
} = require('../conversion-util')
module.exports = InputNumber
diff --git a/ui/app/components/send/send-utils.js b/ui/app/components/send/send-utils.js
index 0260c38a6..bd1197950 100644
--- a/ui/app/components/send/send-utils.js
+++ b/ui/app/components/send/send-utils.js
@@ -1,6 +1,5 @@
const {
addCurrencies,
- conversionGreaterThan,
conversionUtil,
conversionGTE,
} = require('../../conversion-util')