client/src/components/common/Pagination/pageUtils.js
Function createPages
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const createPages = (...args) => {
const [handlePageNav, pagesPerList, pageList, currentPage, pages] = args;
const items = [];
const children = '...';
[1, 2, 3].forEach((number) => {