Coursemology/coursemology2

View on GitHub
client/app/bundles/course/leaderboard/store.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function reducer has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  (draft: LeaderboardState, action: LeaderboardActionType) => {
    switch (action.type) {
      case SAVE_LEADERBOARD_POINTS: {
        const leaderboardPointsList = action.leaderboardByExpPoints;
        saveListToStore(draft.leaderboardPoints, leaderboardPointsList);
Severity: Minor
Found in client/app/bundles/course/leaderboard/store.ts - About 1 hr to fix

There are no issues that match your filters.

Category
Status