src/common/reducers/surveys.js
Function surveys
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function surveys(state = initialState, action) {
switch (action.type) {
case SET_SURVEY_GROUP:
return Object.assign({}, state, {groupIndex: action.groupIndex})