diff --git a/apps/web/src/hooks/useLiveRefresh.ts b/apps/web/src/hooks/useLiveRefresh.ts index 8913973364b8..9cbc0c5c4b3a 100644 --- a/apps/web/src/hooks/useLiveRefresh.ts +++ b/apps/web/src/hooks/useLiveRefresh.ts @@ -72,7 +72,8 @@ export function shouldRefreshOnInterval(input: { readonly refreshWhileVisible?: boolean; }): boolean { return ( - (input.refreshWhileVisible || input.now - input.lastInteractedAt < LIVE_REFRESH_IDLE_AFTER_MS) && + (input.refreshWhileVisible || + input.now - input.lastInteractedAt < LIVE_REFRESH_IDLE_AFTER_MS) && shouldLiveRefresh(input) ); }