From ba159d6fa9a12f29f85aaefab9a98020d9ca683a Mon Sep 17 00:00:00 2001 From: "hermes-seaeye[bot]" <307254004+hermes-seaeye[bot]@users.noreply.github.com> Date: Sun, 26 Jul 2026 01:21:38 +0000 Subject: [PATCH] fmt(js): `npm run fix` on merge (#71667) Co-authored-by: github-actions[bot] --- apps/desktop/src/app/chat/composer/hooks/use-composer-draft.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/desktop/src/app/chat/composer/hooks/use-composer-draft.ts b/apps/desktop/src/app/chat/composer/hooks/use-composer-draft.ts index 74f9e735e5ed..11aa35dfaf79 100644 --- a/apps/desktop/src/app/chat/composer/hooks/use-composer-draft.ts +++ b/apps/desktop/src/app/chat/composer/hooks/use-composer-draft.ts @@ -343,7 +343,7 @@ export function useComposerDraft({ // window (e.g. a fast session switch immediately followed by Enter) would // ship A's attachments into B's turn (#59305). useLayoutEffect closes the // window by running before paint. - // eslint-disable-next-line no-restricted-syntax -- legitimate non-atom ref write (see eslint rule comment) + useLayoutEffect(() => { // A pending debounce timer from the outgoing session is now stale — its // scope was correct when scheduled, but the authoritative stash below