Skip to content

Commit af269a2

Browse files
committed
fix: eslint auto add deps bug
1 parent 0c1e942 commit af269a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/usePagination/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ function usePagination<Result, Item>(
9696
if (formattedResult.pageSize) setPageSize(formattedResult.pageSize);
9797
}
9898
});
99-
}, [current, pageSize, count, run, formatResult]);
99+
}, [current, pageSize, count]);
100100

101101
useUpdateEffect(() => {
102102
setCurrent(1);

0 commit comments

Comments
 (0)