client/src/components/restTable/restTableComponent.js
Function Pagination
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const Pagination = observer(() => {
debug("Pagination:", store.count);
const { count, pagination } = store;
const pages = Math.ceil(count / pagination.perPage);
if (pages <= 1) {