client/app/bundles/course/user-invitations/store.ts
Function reducer
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
(draft: InvitationsState, action: InvitationsActionType) => {
switch (action.type) {
case SAVE_INVITATION_LIST: {
const invitationList = action.invitationList;
const entityList = invitationList.map((data) => ({
- Create a ticketCreate a ticket