AugurProject/augur-ui

View on GitHub
src/modules/markets/actions/submit-new-market.js

Summary

Maintainability
A
1 hr
Test Coverage

Function submitNewMarket has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function submitNewMarket(newMarket, history, callback = noop) {
  return (dispatch, getState) => {
    const { universe, loginAccount, contractAddresses } = getState();
    const { createMarket, formattedNewMarket } = buildCreateMarket(
      newMarket,
Severity: Minor
Found in src/modules/markets/actions/submit-new-market.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status