fix: add onDelete to TreeItem destructured props

This commit is contained in:
Agent Zero
2026-07-17 22:30:47 +02:00
parent 4f23c60fd4
commit 60081c5262
+1 -1
View File
@@ -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;