From e749797fd8a9c3de45643a95e65e8898cda935a8 Mon Sep 17 00:00:00 2001 From: Arjun <6592213+arkml@users.noreply.github.com> Date: Tue, 17 Feb 2026 17:58:19 +0530 Subject: [PATCH] fix new chat --- apps/x/apps/renderer/src/App.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/x/apps/renderer/src/App.tsx b/apps/x/apps/renderer/src/App.tsx index f7f328b8..3d95d38e 100644 --- a/apps/x/apps/renderer/src/App.tsx +++ b/apps/x/apps/renderer/src/App.tsx @@ -1640,9 +1640,7 @@ function App() { setAllPermissionRequests(new Map()) setPermissionResponses(new Map()) setSelectedBackgroundTask(null) - // Update active chat tab's runId to null - setChatTabs(prev => prev.map(t => t.id === activeChatTabId ? { ...t, runId: null } : t)) - }, [activeChatTabId]) + }, []) // Chat tab operations const applyChatTab = useCallback((tab: ChatTab) => {