src/applications/gi/reducers/nationalExams.js
Function nationalExamsReducer
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const nationalExamsReducer = (state = INITIAL_STATE, action) => {
switch (action.type) {
case FETCH_NATIONAL_EXAMS_STARTED:
return { ...state, loading: true, error: null };