AugurProject/augur-ui

View on GitHub
src/modules/portfolio/containers/positions.js

Summary

Maintainability
A
1 hr
Test Coverage

Function mapStateToProps has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const mapStateToProps = state => {
  const positions = getLoginAccountPositions();
  const openOrders = getOpenOrders();
  const orphanedOrders = selectOrphanOrders(state);
  const orphanedMarkets = [];
Severity: Minor
Found in src/modules/portfolio/containers/positions.js - About 1 hr to fix

    TODO found
    Open

      // TODO -- getting each section of markets should be it's own call

    There are no issues that match your filters.

    Category
    Status