Skip to content

Commit 231d2ab

Browse files
committed
lint
1 parent 69c6e9a commit 231d2ab

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

apps/array/src/renderer/features/sessions/stores/sessionStore.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,10 @@ const useStore = create<SessionStore>()(
460460

461461
if (result) {
462462
// Set isPromptPending true - the resumed agent may still be generating
463-
updateSession(taskRunId, { status: "connected", isPromptPending: true });
463+
updateSession(taskRunId, {
464+
status: "connected",
465+
isPromptPending: true,
466+
});
464467
} else {
465468
unsubscribeFromChannel(taskRunId);
466469
removeSession(taskRunId);
@@ -885,7 +888,10 @@ trpcVanilla.connectivity.onStatusChange.subscribe(undefined, {
885888
// This preserves events and allows auto-reconnect when connectivity returns
886889
useStore.setState((state) => {
887890
for (const session of Object.values(state.sessions)) {
888-
if (session.status === "connected" || session.status === "connecting") {
891+
if (
892+
session.status === "connected" ||
893+
session.status === "connecting"
894+
) {
889895
session.status = "disconnected";
890896
session.isPromptPending = false;
891897
}

0 commit comments

Comments
 (0)