fix: add onDelete to TreeItem destructured props
This commit is contained in:
@@ -43,7 +43,7 @@ function buildTree(folders: ChatFolder[], sessions: ChatSession[]): TreeNode[] {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function TreeItem({
|
function TreeItem({
|
||||||
node, activeSessionId, onSelectSession, depth, onContextMenu, onDragSession, onDropToFolder,
|
node, activeSessionId, onSelectSession, depth, onContextMenu, onDragSession, onDropToFolder, onDelete,
|
||||||
}: {
|
}: {
|
||||||
node: TreeNode;
|
node: TreeNode;
|
||||||
activeSessionId: string | null;
|
activeSessionId: string | null;
|
||||||
|
|||||||
Reference in New Issue
Block a user