diff --git a/src/components/Pagination/hooks/usePagination.ts b/src/components/Pagination/hooks/usePagination.ts index 0f1669ec92..c0704fe870 100644 --- a/src/components/Pagination/hooks/usePagination.ts +++ b/src/components/Pagination/hooks/usePagination.ts @@ -18,7 +18,7 @@ export function usePagination({ }: UsePaginationArgs): UsePaginationReturn { const numberOfPages = getNumberOfPages(pageSize, total); const hasTotal = numberOfPages !== 0; - const isNextDisabled = (hasTotal && page === numberOfPages) || total === 0; + const isNextDisabled = hasTotal === false || page === numberOfPages; let items: PaginationItem[];