diff --git a/src/components/query-search-list/query-search-list.js b/src/components/query-search-list/query-search-list.js index 685715b37..223fd12d0 100644 --- a/src/components/query-search-list/query-search-list.js +++ b/src/components/query-search-list/query-search-list.js @@ -53,10 +53,33 @@ const QuerySearchList = ({ if (!length) { return notFoundMessage; } - + /** + * main function for paggination + * now it's working for prev next buttons + * in commented code functionality for load more button + * which is already emplemented and working correctly + */ const getLoadMoreButton = () => { const isUnloadedPagesPresent = (totalLength !== length) && !(length % PAGE_SIZE); + return ( + <> + + {/* place for page counter */} + + > + ); + /* if (isUnloadedPagesPresent) { return (