client/app/bundles/course/achievement/store.ts
Function reducer
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
(draft: AchievementsState, action: AchievementsActionType) => {
switch (action.type) {
case SAVE_ACHIEVEMENT_LIST: {
const achievementList = action.achievementList;
const entityList = achievementList.map((data) => ({
- Create a ticketCreate a ticket