ethereum/mist

View on GitHub
interface/components/TxHistory/index.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function render has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  render() {
    const txs = this.props.txs;

    const txList = txs.map(tx => {
      return (
Severity: Minor
Found in interface/components/TxHistory/index.js - About 1 hr to fix

    Function updatePendingTxs has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      updatePendingTxs() {
        this.unsub();
        const updateTxs = () => {
          const txs = this.props.txs;
          _.each(txs, (tx, index) => {
    Severity: Minor
    Found in interface/components/TxHistory/index.js - About 1 hr to fix

      Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
      Open

      import React, { Component } from 'react';

      For more information visit Source: http://eslint.org/docs/rules/

      There are no issues that match your filters.

      Category
      Status