diff --git a/components/Table/Pagination.tsx b/components/Table/Pagination.tsx index 5a8ee131..186397d4 100644 --- a/components/Table/Pagination.tsx +++ b/components/Table/Pagination.tsx @@ -20,6 +20,11 @@ const Pagination = ({ onNext, css, }: PaginationProps) => { + // Don't render pagination when there are no pages + if (totalPages <= 0) { + return null; + } + return (