wongjiahau/ttap-web

View on GitHub
src/ts/redux/actions/notifyDataLoaded.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function GenerateNewState has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  protected GenerateNewState(state: IMasterState): IMasterState {
    const route = state.SettingsState.SearchByConsideringWeekNumber
      ? "ungeneralized"
      : "generalized";
    const router = new DataRouter<ObjectStore<RawSlot>>();
Severity: Minor
Found in src/ts/redux/actions/notifyDataLoaded.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status