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:
parent
bea1cf3f3c
commit
6886429f0b
@ -653,7 +653,7 @@ module.exports = class MetamaskController extends EventEmitter {
|
||||
|
||||
const { identities } = this.preferencesController.store.getState()
|
||||
return { ...keyState, identities }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
|
@ -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
|
||||
|
@ -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 = {
|
||||
|
@ -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 {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user