Skip to content

Commit

Permalink
fix: infinity scroll on Tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
Cedric921 committed Feb 12, 2024
1 parent 1c77261 commit 3e8596a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion apps/web/app/hooks/useInfinityFetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export const useInfinityScrolling = <T>(arr: T[], lim?: number) => {
}, [limit, offset]);

React.useEffect(() => {
console.log({ offset });
getSomeTasks(offset);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [offset]);
Expand Down

0 comments on commit 3e8596a

Please sign in to comment.