fix: update page handling in TableList component to use local paging state

This commit is contained in:
faisolavolut 2025-02-28 08:24:24 +07:00
parent 668a0e13f8
commit b8e1b1e070
1 changed files with 1 additions and 1 deletions

View File

@ -1074,7 +1074,7 @@ export const TableList = <T extends object>({
}}
disabledNextPage={!table.getCanNextPage()}
disabledPrevPage={!table.getCanPreviousPage()}
page={table.getState().pagination.pageIndex + 1}
page={local.paging}
setPage={(page: any) => {
setPagination({
pageIndex: page,