AugurProject/augur-ui

View on GitHub
src/modules/auth/actions/update-assets.js

Summary

Maintainability
A
1 hr
Test Coverage

Function updateAssets has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function updateAssets(callback = logError) {
  return (dispatch, getState) => {
    const { loginAccount, universe } = getState();
    const universeID = universe.id || UNIVERSE_ID;
    const balances = { eth: undefined, rep: undefined };
Severity: Minor
Found in src/modules/auth/actions/update-assets.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status