atlp-rwanda/atlp-devpulse-fn

View on GitHub

A user will be able to react and comment to a blog post
#262

Philimuhire wants to merge ft-comments-reactions-fn into develop
Failed
4 issues to fix.

Avoid too many return statements within this function.
New

        return state;
Severity: Major
Found in src/redux/reducers/commentReducers.ts - About 30 mins to fix

    Avoid too many return statements within this function.
    New

          return {
            ...state,
            isCommentLoading: false,
            commentCounts: {
              ...state.commentCounts,
    Severity: Major
    Found in src/redux/reducers/commentReducers.ts - About 30 mins to fix

      Avoid too many return statements within this function.
      New

              return {
                ...state,
                isCommentLoading: false,
                errors: payload || 'An error occurred while creating the comment.',
              };
      Severity: Major
      Found in src/redux/reducers/commentReducers.ts - About 30 mins to fix

        Avoid too many return statements within this function.
        New

              return { ...state, isCommentLoading: false, errors: payload || 'Error occurred' };
        Severity: Major
        Found in src/redux/reducers/commentReducers.ts - About 30 mins to fix

          There are no issues that match your filters.

          Category
          Status