public/reducers/giftSets.js
Function giftSetReducer
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function giftSetReducer(state = giftSets, action) {
switch (action.type) {
case TYPES.LOAD_GIFT_SETS_REQUEST:
return Object.assign({}, state, { loading: true });