src/modules/markets/actions/submit-new-market.js
Function submitNewMarket
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function submitNewMarket(newMarket, history, callback = noop) {
return (dispatch, getState) => {
const { universe, loginAccount, contractAddresses } = getState();
const { createMarket, formattedNewMarket } = buildCreateMarket(
newMarket,