mirror of
https://github.com/langgenius/dify.git
synced 2026-05-13 08:57:28 +08:00
Replace getAncestorIds(treeData) with node.parent chain traversal for more efficient ancestor lookup. This avoids re-traversing the tree data structure and uses react-arborist's built-in parent refs. Also rename hook to useSyncTreeWithActiveTab for clarity. |
||
|---|---|---|
| .. | ||
| use-delayed-click.ts | ||
| use-file-operations.ts | ||
| use-skill-asset-tree.ts | ||
| use-sync-tree-with-active-tab.ts | ||
| use-tree-node-handlers.ts | ||