aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/customize-gas-modal/index.js
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/customize-gas-modal/index.js
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/customize-gas-modal/index.js')
-rw-r--r--ui/app/components/customize-gas-modal/index.js3
1 files changed, 1 insertions, 2 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*$/)