From 04e0898b3c2e14e5ea6af7a8b72e24007a3572a4 Mon Sep 17 00:00:00 2001 From: Liam Date: Mon, 14 Oct 2024 10:58:30 +0100 Subject: [PATCH] oops there --- .../website/src/components/input/pagination.tsx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/projects/website/src/components/input/pagination.tsx b/projects/website/src/components/input/pagination.tsx index 12bbd6a..c037473 100644 --- a/projects/website/src/components/input/pagination.tsx +++ b/projects/website/src/components/input/pagination.tsx @@ -174,6 +174,22 @@ export default function Pagination({ {renderPageNumbers()} + {!mobilePagination && currentPage < totalPages && totalPages - currentPage > 2 && ( + <> + + + + + handleLinkClick(totalPages, e)} + > + {totalPages} + + + + )} + {/* Next button - disabled on the last page */}