aboutsummaryrefslogtreecommitdiffstats
path: root/old-ui/app/components
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2018-04-03 06:39:44 +0800
committerGitHub <noreply@github.com>2018-04-03 06:39:44 +0800
commit672e3a463ad9b40f4116269d243145f35c3b6fd5 (patch)
treef64713d94337e988f7de22809116602001337720 /old-ui/app/components
parent8cd2022169f50607812d1f36d408c098c0dc29ed (diff)
parentfa66b78b8b2c2b8519e818744941cfb6dece92f8 (diff)
downloadtangerine-wallet-browser-672e3a463ad9b40f4116269d243145f35c3b6fd5.tar
tangerine-wallet-browser-672e3a463ad9b40f4116269d243145f35c3b6fd5.tar.gz
tangerine-wallet-browser-672e3a463ad9b40f4116269d243145f35c3b6fd5.tar.bz2
tangerine-wallet-browser-672e3a463ad9b40f4116269d243145f35c3b6fd5.tar.lz
tangerine-wallet-browser-672e3a463ad9b40f4116269d243145f35c3b6fd5.tar.xz
tangerine-wallet-browser-672e3a463ad9b40f4116269d243145f35c3b6fd5.tar.zst
tangerine-wallet-browser-672e3a463ad9b40f4116269d243145f35c3b6fd5.zip
Merge pull request #3828 from MetaMask/lint-sys-fix
Lint system fixes
Diffstat (limited to 'old-ui/app/components')
-rw-r--r--old-ui/app/components/buy-button-subview.js1
-rw-r--r--old-ui/app/components/qr-code.js1
-rw-r--r--old-ui/app/components/range-slider.js4
-rw-r--r--old-ui/app/components/transaction-list-item.js2
4 files changed, 3 insertions, 5 deletions
diff --git a/old-ui/app/components/buy-button-subview.js b/old-ui/app/components/buy-button-subview.js
index 843627c33..56d173839 100644
--- a/old-ui/app/components/buy-button-subview.js
+++ b/old-ui/app/components/buy-button-subview.js
@@ -247,7 +247,6 @@ BuyButtonSubview.prototype.backButtonContext = function () {
if (this.props.context === 'confTx') {
this.props.dispatch(actions.showConfTxPage(false))
} else {
- console.log(`actions.goHome`, actions.goHome);
this.props.dispatch(actions.goHome())
}
}
diff --git a/old-ui/app/components/qr-code.js b/old-ui/app/components/qr-code.js
index fa38dcd92..06b9aed9b 100644
--- a/old-ui/app/components/qr-code.js
+++ b/old-ui/app/components/qr-code.js
@@ -25,7 +25,6 @@ function QrCodeView () {
QrCodeView.prototype.render = function () {
const props = this.props
const Qr = props.Qr
- console.log(`QrCodeView Qr`, Qr);
const address = `${isHexPrefixed(Qr.data) ? 'ethereum:' : ''}${Qr.data}`
const qrImage = qrCode(4, 'M')
qrImage.addData(address)
diff --git a/old-ui/app/components/range-slider.js b/old-ui/app/components/range-slider.js
index 823f5eb01..bae740a74 100644
--- a/old-ui/app/components/range-slider.js
+++ b/old-ui/app/components/range-slider.js
@@ -35,7 +35,7 @@ RangeSlider.prototype.render = function () {
step: increment,
style: range,
value: state.value || defaultValue,
- onChange: mirrorInput ? this.mirrorInputs.bind(this, event) : onInput,
+ onChange: mirrorInput ? this.mirrorInputs.bind(this) : onInput,
}),
// Mirrored input for range
@@ -47,7 +47,7 @@ RangeSlider.prototype.render = function () {
value: state.value || defaultValue,
step: increment,
style: input,
- onChange: this.mirrorInputs.bind(this, event),
+ onChange: this.mirrorInputs.bind(this),
}) : null,
])
)
diff --git a/old-ui/app/components/transaction-list-item.js b/old-ui/app/components/transaction-list-item.js
index f7d59005a..b9f82c668 100644
--- a/old-ui/app/components/transaction-list-item.js
+++ b/old-ui/app/components/transaction-list-item.js
@@ -30,7 +30,7 @@ function TransactionListItem () {
TransactionListItem.prototype.showRetryButton = function () {
const { transaction = {}, transactions } = this.props
- const { status, submittedTime, txParams } = transaction
+ const { submittedTime, txParams } = transaction
if (!txParams) {
return false