1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

fix linting errors

This commit is contained in:
brunobar79 2018-07-26 21:22:39 -04:00
parent bea1cf3f3c
commit 6886429f0b
4 changed files with 4 additions and 4 deletions

View File

@ -653,7 +653,7 @@ module.exports = class MetamaskController extends EventEmitter {
const { identities } = this.preferencesController.store.getState()
return { ...keyState, identities }
}
}
//

View File

@ -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

View File

@ -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 = {

View File

@ -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 {