mirror of
https://github.com/langgenius/dify.git
synced 2026-03-22 23:08:03 +08:00
Simplify file drop hooks by removing the unnecessary useUnifiedDrag wrapper that became redundant after internal node drag was migrated to react-arborist's built-in system. Now useFolderFileDrop and useRootFileDrop directly use useFileDrop, reducing code complexity and eliminating unused treeChildren prop drilling.