Skip to content

The agent that grows with you

fmt(js): `npm run fix` on merge (#71236)

hermes-seaeye[bot]760112adb645
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 2f5fd6a653e..1282508301a 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)