Hide paginators for empty lists

This commit is contained in:
David Corbitt
2023-08-14 21:17:03 -07:00
parent 649dc3376b
commit 9a9cbe8fd4

View File

@@ -37,6 +37,8 @@ const Paginator = ({
const goToLastPage = () => setPageParams({ page: lastPage }, "replace");
const goToFirstPage = () => setPageParams({ page: 1 }, "replace");
if (count === 0) return null;
return (
<HStack
pt={4}