From b4067ca61a0dc5bf210a468a7857fd8080b7cbdc Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 3 Jul 2026 21:01:42 +0000 Subject: [PATCH] chore: format with prettier [skip ci] --- frontend/src/renderer/hooks/useTerminalSession.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/frontend/src/renderer/hooks/useTerminalSession.ts b/frontend/src/renderer/hooks/useTerminalSession.ts index fbfdd7826..70365e350 100644 --- a/frontend/src/renderer/hooks/useTerminalSession.ts +++ b/frontend/src/renderer/hooks/useTerminalSession.ts @@ -329,13 +329,7 @@ export function useTerminalSession(session: WorkspaceSession | undefined, option const handle = session?.terminalHandleId ?? null; const previousStatus = previousSessionStatusRef.current; previousSessionStatusRef.current = session?.status; - if ( - !handle || - previousStatus !== "terminated" || - session?.status === "terminated" || - r.detached || - !r.terminal - ) { + if (!handle || previousStatus !== "terminated" || session?.status === "terminated" || r.detached || !r.terminal) { return; } if (r.handle !== handle) return;