AugurProject/augur-ui

View on GitHub
src/modules/orders/actions/load-one-outcome-bids-or-asks.js

Summary

Maintainability
A
1 hr
Test Coverage

Function loadOneOutcomeBidsOrAsks has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

) => (dispatch, getState) => {
  const { marketsData } = getState();
  if (marketId == null || outcome == null || orderTypeLabel == null) {
    return callback(
      `must specify market ID, outcome, and order type: ${marketId} ${outcome} ${orderTypeLabel}`
Severity: Minor
Found in src/modules/orders/actions/load-one-outcome-bids-or-asks.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status