frontend/src/shared/reducers/posts.js
Function default
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function (state = INITIAL_STATE, action) {
switch (action.type) {
case FETCH_POSTS_INFINITELY.REQUEST:
return { ...state, loading: true };