client/app/bundles/course/announcements/store.ts
Function reducer
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
(draft: AnnouncementsState, action: AnnouncementsActionType) => {
switch (action.type) {
case SAVE_ANNOUNCEMENT_LIST: {
const announcementList = action.announcementList;
const entityList = announcementList.map((data) => ({ ...data }));
- Create a ticketCreate a ticket