From 02339465b67b096b465e6a1b93a8d6d79064124b Mon Sep 17 00:00:00 2001 From: ooodc <549496103@qq.com> Date: Sat, 6 Jun 2026 22:25:22 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=88=A0=E9=99=A4=E6=9C=AA=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E7=9A=84=20Sidebar=20SessionSelector=EF=BC=88?= =?UTF-8?q?=E5=B7=B2=E7=A7=BB=E8=87=B3=20Header=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/Sidebar/SessionSelector.tsx | 78 ------------------- 1 file changed, 78 deletions(-) delete mode 100644 web/src/components/Sidebar/SessionSelector.tsx diff --git a/web/src/components/Sidebar/SessionSelector.tsx b/web/src/components/Sidebar/SessionSelector.tsx deleted file mode 100644 index bb40b9c..0000000 --- a/web/src/components/Sidebar/SessionSelector.tsx +++ /dev/null @@ -1,78 +0,0 @@ -import { MessageSquare } from 'lucide-react' -import type { SessionSummary } from '../../types/protocol' - -interface SessionSelectorProps { - sessions: SessionSummary[] - selectedSessionId: string | null - onSelectSession: (sessionId: string) => void -} - -export function SessionSelector({ - sessions, - selectedSessionId, - onSelectSession, -}: SessionSelectorProps) { - if (sessions.length === 0) { - return ( -
暂无会话
-