Coursemology/coursemology2

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

Summary

Maintainability
A
1 hr
Test Coverage

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

  (draft: AchievementsState, action: AchievementsActionType) => {
    switch (action.type) {
      case SAVE_ACHIEVEMENT_LIST: {
        const achievementList = action.achievementList;
        const entityList = achievementList.map((data) => ({
Severity: Minor
Found in client/app/bundles/course/achievement/store.ts - About 1 hr to fix

There are no issues that match your filters.

Category
Status