We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 363ee59 commit 11b46bfCopy full SHA for 11b46bf
1 file changed
apps/sim/app/workspace/[workspaceId]/logs/logs.tsx
@@ -236,13 +236,11 @@ export default function Logs() {
236
useEffect(() => {
237
activeLogRefetchRef.current = activeLogQuery.refetch
238
}, [activeLogQuery.refetch])
239
- useEffect(() => {
240
- logsQueryRef.current = {
241
- isFetching: logsQuery.isFetching,
242
- hasNextPage: logsQuery.hasNextPage ?? false,
243
- fetchNextPage: logsQuery.fetchNextPage,
244
- }
245
- }, [logsQuery.isFetching, logsQuery.hasNextPage, logsQuery.fetchNextPage])
+ logsQueryRef.current = {
+ isFetching: logsQuery.isFetching,
+ hasNextPage: logsQuery.hasNextPage ?? false,
+ fetchNextPage: logsQuery.fetchNextPage,
+ }
246
247
248
const timers = refreshTimersRef.current
0 commit comments