From 760112adb6458417da8614d2269e5325f0739ed5 Mon Sep 17 00:00:00 2001 From: "hermes-seaeye[bot]" <307254004+hermes-seaeye[bot]@users.noreply.github.com> Date: Sat, 25 Jul 2026 06:30:23 +0000 Subject: [PATCH] fmt(js): `npm run fix` on merge (#71236) Co-authored-by: github-actions[bot] --- .../src/app/session/hooks/use-prompt-actions/submit.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/desktop/src/app/session/hooks/use-prompt-actions/submit.ts b/apps/desktop/src/app/session/hooks/use-prompt-actions/submit.ts index 2f5fd6a653ed..1282508301a1 100644 --- a/apps/desktop/src/app/session/hooks/use-prompt-actions/submit.ts +++ b/apps/desktop/src/app/session/hooks/use-prompt-actions/submit.ts @@ -174,9 +174,7 @@ export function useSubmitPrompt(deps: SubmitPromptDeps) { // drain is for the current view (no storedSessionId, or it matches the // foreground), the foreground runtime is correct and must be kept. const isBackgroundQueueDrain = Boolean( - options?.fromQueue && - options?.storedSessionId && - options.storedSessionId !== selectedStoredSessionIdRef.current + options?.fromQueue && options?.storedSessionId && options.storedSessionId !== selectedStoredSessionIdRef.current ) let sessionId: null | string = options?.sessionId ?? (isBackgroundQueueDrain ? null : activeSessionIdRef.current)