From 466542c9751ef6fc35396786b8c77d5aa4754f09 Mon Sep 17 00:00:00 2001 From: Andrew Pols Date: Mon, 3 Nov 2025 16:45:45 +0000 Subject: [PATCH 1/2] chore: fix pagination to display 0 of 0 when empty (not 1 of 0) --- src/ui/components/Pagination/Pagination.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ui/components/Pagination/Pagination.tsx b/src/ui/components/Pagination/Pagination.tsx index eaaa58196..670affc1d 100644 --- a/src/ui/components/Pagination/Pagination.tsx +++ b/src/ui/components/Pagination/Pagination.tsx @@ -32,9 +32,7 @@ const Pagination: React.FC = ({ Previous - - Page {currentPage} of {totalPages} - + {totalPages === 0 ? '0 of 0' : `Page ${currentPage} of ${totalPages}`}