Coursemology/coursemology2

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

Summary

Maintainability
A
1 hr
Test Coverage

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

  (draft: AnnouncementsState, action: AnnouncementsActionType) => {
    switch (action.type) {
      case SAVE_ANNOUNCEMENT_LIST: {
        const announcementList = action.announcementList;
        const entityList = announcementList.map((data) => ({ ...data }));
Severity: Minor
Found in client/app/bundles/course/announcements/store.ts - About 1 hr to fix

There are no issues that match your filters.

Category
Status