diff --git a/src/usePagination/index.ts b/src/usePagination/index.ts index 91886d40c3..33093b60e8 100644 --- a/src/usePagination/index.ts +++ b/src/usePagination/index.ts @@ -96,7 +96,7 @@ function usePagination( if (formattedResult.pageSize) setPageSize(formattedResult.pageSize); } }); - }, [current, pageSize, count, run, formatResult]); + }, [current, pageSize, count]); useUpdateEffect(() => { setCurrent(1);