diff options
author | Dan <danjm.com@gmail.com> | 2017-11-07 03:44:46 +0800 |
---|---|---|
committer | Dan <danjm.com@gmail.com> | 2017-11-07 03:44:46 +0800 |
commit | 8c6e1232e417f5a2974b5aa1cc479dac4925df63 (patch) | |
tree | f028ceb06f809e82a77be05a9183fb4f8289ad37 /ui/app/components | |
parent | e5391cf9fdc7dfc25318caaed5dd56270946ddf8 (diff) | |
download | tangerine-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.js | 3 | ||||
-rw-r--r-- | ui/app/components/input-number.js | 1 | ||||
-rw-r--r-- | ui/app/components/send/send-utils.js | 1 |
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') |