diff --git a/src/components/Pagination/Pagination.tsx b/src/components/Pagination/Pagination.tsx index 3f4c8d604..c20214c8b 100644 --- a/src/components/Pagination/Pagination.tsx +++ b/src/components/Pagination/Pagination.tsx @@ -31,6 +31,8 @@ export function Pagination(props: PaginationProps) { } const pages = usePagination(currPage, totalPages, 5); + const showingFrom = (currPage - 1) * perPage + 1; + const showingTo = Math.min(showingFrom + perPage - 1, totalCount); return (