client/src/js/components/list/Pagination.jsx
Function render
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
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);