From ffafb6fee69508e536e1f1156c41320a9b67d3c4 Mon Sep 17 00:00:00 2001 From: Haileyesus Date: Mon, 23 Feb 2026 11:51:07 +0300 Subject: [PATCH] fix(shell): use socket directly --- src/components/shell/hooks/useShellConnection.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/shell/hooks/useShellConnection.ts b/src/components/shell/hooks/useShellConnection.ts index 4fdec9d..8334a15 100644 --- a/src/components/shell/hooks/useShellConnection.ts +++ b/src/components/shell/hooks/useShellConnection.ts @@ -137,7 +137,7 @@ export function useShellConnection({ currentFitAddon.fit(); - sendSocketMessage(wsRef.current, { + sendSocketMessage(socket, { type: 'init', projectPath: currentProject.fullPath || currentProject.path || '', sessionId: isPlainShellRef.current ? null : selectedSessionRef.current?.id || null,