Skip to content

The agent that grows with you

fix(lint): import sort + eslint-disable for timer-handle ref clear in effect

kshitij9d76d48d0a52
diff --git a/apps/desktop/src/app/chat/sidebar/cron-jobs-section.tsx b/apps/desktop/src/app/chat/sidebar/cron-jobs-section.tsx
index 95c01988d16..fea0d8dff07 100644
--- a/apps/desktop/src/app/chat/sidebar/cron-jobs-section.tsx
+++ b/apps/desktop/src/app/chat/sidebar/cron-jobs-section.tsx
@@ -2,7 +2,6 @@ import { useStore } from '@nanostores/react'
import { useEffect, useMemo, useState } from 'react'
import { usePaneVisible } from '@/components/pane-shell/pane-visibility'
-
import { ActionsContextMenu, type MenuKit, renderActionItem } from '@/components/ui/actions-menu'
import { Codicon } from '@/components/ui/codicon'
import { DisclosureCaret } from '@/components/ui/disclosure-caret'
diff --git a/apps/desktop/src/app/session/hooks/use-message-stream/index.ts b/apps/desktop/src/app/session/hooks/use-message-stream/index.ts
index 7d047afe06e..22f405bf7f7 100644
--- a/apps/desktop/src/app/session/hooks/use-message-stream/index.ts
+++ b/apps/desktop/src/app/session/hooks/use-message-stream/index.ts
@@ -360,6 +360,7 @@ export function useMessageStream({
// Page Visibility does not report every Windows/Linux focus transition.
// Flush queued deltas on both signals so returning to a chat cannot leave a
// completed chunk waiting for the next throttled timer.
+ // eslint-disable-next-line no-restricted-syntax -- timer-handle clear inside effect, not an atom mirror
useEffect(() => {
const flushPendingDeltas = () => {
if (flushHandleRef.current !== null) {