FredericHeem/starhackit

View on GitHub
client/src/components/restTable/restTableComponent.js

Summary

Maintainability
A
1 hr
Test Coverage

Function Pagination has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  const Pagination = observer(() => {
    debug("Pagination:", store.count);
    const { count, pagination } = store;
    const pages = Math.ceil(count / pagination.perPage);
    if (pages <= 1) {
Severity: Minor
Found in client/src/components/restTable/restTableComponent.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status