Skip to content

Commit

Permalink
fix: add recoveryThrottleInterval to effect deps
Browse files Browse the repository at this point in the history
Co-authored-by: Oliver Lazoroski <oliver.lazoroski@gmail.com>
  • Loading branch information
MartinCupela and oliverlaz committed Oct 11, 2023
1 parent bbb2926 commit 6a5dfbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ChannelList/hooks/usePaginatedChannels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export const usePaginatedChannels = <

lastRecoveryTimestamp.current = now;
queryChannels('reload');
}, [error, queryChannels, lastRecoveryTimestamp]);
}, [error, queryChannels, recoveryThrottleInterval]);

const loadNextPage = () => {
queryChannels();
Expand Down

0 comments on commit 6a5dfbf

Please sign in to comment.