diff options
author | Michael Hunteman <michael@huntm.net> | 2024-08-30 17:12:52 -0700 |
---|---|---|
committer | Michael Hunteman <michael@huntm.net> | 2024-08-30 17:12:52 -0700 |
commit | 05ef638bc032473a8b4bfa9be2de2e994c7a1e7c (patch) | |
tree | dd259aee14c25c01940145f99eec1cb97893fbbb /client/src/components | |
parent | 7c9e469b5b9deaee24e99825699dd4df194d4303 (diff) |
Remove pagination options
Diffstat (limited to 'client/src/components')
-rw-r--r-- | client/src/components/Dashboard.tsx | 9 |
1 files changed, 8 insertions, 1 deletions
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() { <div key={index} style={{ - width: '32%', + width: '34%', display: 'flex', justifyContent: 'space-around', }} |