From 2bda66a042ea07b394c90d0a2795f90b74c61dbe Mon Sep 17 00:00:00 2001 From: oudecheng <13802883547@139.com> Date: Fri, 29 May 2026 17:42:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:user=20=E6=B6=88=E6=81=AF=E9=87=8D=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/App.tsx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/web/src/App.tsx b/web/src/App.tsx index 4c143ce..4fa6794 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -171,13 +171,7 @@ function App() { const handleExitSubAgentView = useCallback(() => { exitSubAgentView() - // Reload current topic messages - if (selectedTopic) { - const cmd: Command = { type: 'load_topic', topic_id: selectedTopic } - handleCommand(cmd) - sendMessage({ type: 'command', payload: JSON.stringify(cmd) }) - } - }, [exitSubAgentView, selectedTopic, handleCommand, sendMessage]) + }, [exitSubAgentView]) const chatMessages = useMemo(() => { const result: ChatMessage[] = []