tsurupin/portfolio

View on GitHub
frontend/src/shared/reducers/posts.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function default has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function (state = INITIAL_STATE, action) {
  switch (action.type) {
    case FETCH_POSTS_INFINITELY.REQUEST:
      return { ...state, loading: true };

Severity: Minor
Found in frontend/src/shared/reducers/posts.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status