fix new chat

This commit is contained in:
Arjun 2026-02-17 17:58:19 +05:30 committed by tusharmagar
parent df27bc1898
commit e749797fd8

View file

@ -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) => {