fix table page size selector

This commit is contained in:
Milo Schwartz 2025-02-05 21:53:30 -05:00
parent 3fa7132534
commit d070415515
No known key found for this signature in database
6 changed files with 10 additions and 11 deletions

View file

@ -49,11 +49,11 @@ export function UsersDataTable<TData, TValue>({
getSortedRowModel: getSortedRowModel(),
onColumnFiltersChange: setColumnFilters,
getFilteredRowModel: getFilteredRowModel(),
state: {
initialState: {
sorting,
columnFilters,
pagination: {
pageSize: 100,
pageSize: 20,
pageIndex: 0,
},
},