From 05ef638bc032473a8b4bfa9be2de2e994c7a1e7c Mon Sep 17 00:00:00 2001 From: Michael Hunteman Date: Fri, 30 Aug 2024 17:12:52 -0700 Subject: Remove pagination options --- client/src/components/Dashboard.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'client/src/components/Dashboard.tsx') diff --git a/client/src/components/Dashboard.tsx b/client/src/components/Dashboard.tsx index 40c84f6..42a4224 100644 --- a/client/src/components/Dashboard.tsx +++ b/client/src/components/Dashboard.tsx @@ -47,6 +47,13 @@ function Dashboard() { const table = useMaterialReactTable({ columns, data: guests, + muiPaginationProps: { + color: 'primary', + shape: 'rounded', + showRowsPerPage: false, + variant: 'outlined', + }, + paginationDisplayMode: 'pages', renderDetailPanel: ({ row }) => row.original.partySize > 1 ? row.original.partyList.map((guest, index) => { @@ -54,7 +61,7 @@ function Dashboard() {