aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrunobar79 <brunobar79@gmail.com>2018-07-27 09:22:39 +0800
committerbrunobar79 <brunobar79@gmail.com>2018-07-27 09:22:39 +0800
commit6886429f0b74b8f281818fb03484cccd0e0b8ed0 (patch)
tree2ee7698a5df79a92e515786f85b1902c232dc293
parentbea1cf3f3c7527109b12b13427ea16f428b2790a (diff)
downloadtangerine-wallet-browser-6886429f0b74b8f281818fb03484cccd0e0b8ed0.tar
tangerine-wallet-browser-6886429f0b74b8f281818fb03484cccd0e0b8ed0.tar.gz
tangerine-wallet-browser-6886429f0b74b8f281818fb03484cccd0e0b8ed0.tar.bz2
tangerine-wallet-browser-6886429f0b74b8f281818fb03484cccd0e0b8ed0.tar.lz
tangerine-wallet-browser-6886429f0b74b8f281818fb03484cccd0e0b8ed0.tar.xz
tangerine-wallet-browser-6886429f0b74b8f281818fb03484cccd0e0b8ed0.tar.zst
tangerine-wallet-browser-6886429f0b74b8f281818fb03484cccd0e0b8ed0.zip
fix linting errors
-rw-r--r--app/scripts/metamask-controller.js2
-rw-r--r--old-ui/app/components/transaction-list-item.js2
-rw-r--r--ui/app/components/qr-scanner/qr-scanner.component.js3
-rw-r--r--ui/app/components/send/send-content/send-to-row/send-to-row.component.js1
4 files changed, 4 insertions, 4 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js
index ad54a0ab9..bcc7075c2 100644
--- a/app/scripts/metamask-controller.js
+++ b/app/scripts/metamask-controller.js
@@ -653,7 +653,7 @@ module.exports = class MetamaskController extends EventEmitter {
const { identities } = this.preferencesController.store.getState()
return { ...keyState, identities }
- }
+ }
//
diff --git a/old-ui/app/components/transaction-list-item.js b/old-ui/app/components/transaction-list-item.js
index f479ce666..b493d0f0d 100644
--- a/old-ui/app/components/transaction-list-item.js
+++ b/old-ui/app/components/transaction-list-item.js
@@ -40,7 +40,7 @@ TransactionListItem.prototype.showRetryButton = function () {
const currentNonce = txParams.nonce
const currentNonceTxs = transactions.filter(tx => tx.txParams.nonce === currentNonce)
const currentNonceSubmittedTxs = currentNonceTxs.filter(tx => tx.status === 'submitted')
- const currentSubmittedTxs = transactions.filter(tx => tx.status === 'submitted')
+ const currentSubmittedTxs = transactions.filter(tx => tx.status === 'submitted')
const lastSubmittedTxWithCurrentNonce = currentNonceSubmittedTxs[0]
const currentTxIsLatestWithNonce = lastSubmittedTxWithCurrentNonce &&
lastSubmittedTxWithCurrentNonce.id === transaction.id
diff --git a/ui/app/components/qr-scanner/qr-scanner.component.js b/ui/app/components/qr-scanner/qr-scanner.component.js
index e0b2c40d6..344d46c3b 100644
--- a/ui/app/components/qr-scanner/qr-scanner.component.js
+++ b/ui/app/components/qr-scanner/qr-scanner.component.js
@@ -1,9 +1,10 @@
import React, { Component } from 'react'
import PropTypes from 'prop-types'
import {connect} from 'react-redux'
+import adapter from 'webrtc-adapter' // eslint-disable-line import/no-nodejs-modules, no-unused-vars
+import { BrowserQRCodeReader } from '@zxing/library'
import { hideQrScanner, qrCodeDetected} from '../../actions'
import Spinner from '../spinner'
-import { BrowserQRCodeReader } from '@zxing/library'
class QrScanner extends Component {
static propTypes = {
diff --git a/ui/app/components/send/send-content/send-to-row/send-to-row.component.js b/ui/app/components/send/send-content/send-to-row/send-to-row.component.js
index 6d8ec8d89..1163dcffc 100644
--- a/ui/app/components/send/send-content/send-to-row/send-to-row.component.js
+++ b/ui/app/components/send/send-content/send-to-row/send-to-row.component.js
@@ -3,7 +3,6 @@ import PropTypes from 'prop-types'
import SendRowWrapper from '../send-row-wrapper/'
import EnsInput from '../../../ens-input'
import { getToErrorObject } from './send-to-row.utils.js'
-import adapter from 'webrtc-adapter'
export default class SendToRow extends Component {