From 60081c5262085df31e99d4b420c95382c1909648 Mon Sep 17 00:00:00 2001 From: Agent Zero Date: Fri, 17 Jul 2026 22:30:47 +0200 Subject: [PATCH] fix: add onDelete to TreeItem destructured props --- frontend/src/components/ai/SessionList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/ai/SessionList.tsx b/frontend/src/components/ai/SessionList.tsx index 344ed7f..05246d8 100644 --- a/frontend/src/components/ai/SessionList.tsx +++ b/frontend/src/components/ai/SessionList.tsx @@ -43,7 +43,7 @@ function buildTree(folders: ChatFolder[], sessions: ChatSession[]): TreeNode[] { } function TreeItem({ - node, activeSessionId, onSelectSession, depth, onContextMenu, onDragSession, onDropToFolder, + node, activeSessionId, onSelectSession, depth, onContextMenu, onDragSession, onDropToFolder, onDelete, }: { node: TreeNode; activeSessionId: string | null;