dynamic/silverstripe-locator-frontend-react

View on GitHub
client/src/js/components/list/Pagination.jsx

Summary

Maintainability
A
1 hr
Test Coverage

Function render has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  render() {
    const { count, page, goToPage, PaginationEnd } = this.props;
    const previousClasses = page <= 1 ? "page-item disabled" : "page-item";
    const previousAction = page <= 1 ? () => {} : () => goToPage(page - 1);

Severity: Minor
Found in client/src/js/components/list/Pagination.jsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status