client/src/progress/reducers.ts
Function progressReducer
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const progressReducer = (state = initialProgressstate, action: AllActions): ProgressReducerState => {
switch (action.type) {
case channelActions.ActionTypes.JOB_PROGRESS: {
switch (action.payload.details.event) {
case 'start':