src/applications/personalization/dashboard/reducers/claims.js
Function claimsReducer
has 69 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function claimsReducer(state = initialState, action) {
switch (action.type) {
case FETCH_CLAIMS_PENDING:
return set(state, true, 'claimsLoading');
case FETCH_CLAIMS_SUCCESS: