diff --git a/app/(main)/team/components/TeamMembersTable/TeamMemberTable.tsx b/app/(main)/team/components/TeamMembersTable/TeamMemberTable.tsx index f66120b..d0f906d 100644 --- a/app/(main)/team/components/TeamMembersTable/TeamMemberTable.tsx +++ b/app/(main)/team/components/TeamMembersTable/TeamMemberTable.tsx @@ -7,6 +7,7 @@ import { getCoreRowModel, getSortedRowModel, getFilteredRowModel, + getPaginationRowModel, SortingState, useReactTable, VisibilityState, @@ -33,6 +34,7 @@ const TeamMemberTable = ({ columns, data }: TeamMemberTableProps) onColumnVisibilityChange: setColumnVisibility, onColumnFiltersChange: setColumnFilters, getFilteredRowModel: getFilteredRowModel(), + getPaginationRowModel: getPaginationRowModel(), state: { sorting, columnVisibility, diff --git a/app/(main)/team/components/TeamTable/TeamTable.tsx b/app/(main)/team/components/TeamTable/TeamTable.tsx index b4fe2bf..ea91406 100644 --- a/app/(main)/team/components/TeamTable/TeamTable.tsx +++ b/app/(main)/team/components/TeamTable/TeamTable.tsx @@ -10,6 +10,7 @@ import { getCoreRowModel, getSortedRowModel, getFilteredRowModel, + getPaginationRowModel, SortingState, useReactTable, VisibilityState, @@ -42,6 +43,7 @@ const TeamTable = ({ columns, data }: TeamTableProps) => { onColumnVisibilityChange: setColumnVisibility, onColumnFiltersChange: setColumnFilters, getFilteredRowModel: getFilteredRowModel(), + getPaginationRowModel: getPaginationRowModel(), state: { sorting, columnVisibility,