src/applications/hca/reducers/enrollment-status.js
Function enrollmentStatus
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function enrollmentStatus(state = ENROLLMENT_STATUS_INIT_STATE, action) {
const { response = {}, type } = action;
const {
FETCH_ENROLLMENT_STATUS_STARTED,
FETCH_ENROLLMENT_STATUS_SUCCEEDED,