mirror of
https://github.com/langgenius/dify.git
synced 2026-05-13 08:57:28 +08:00
Extract business logic into dedicated hooks to reduce component complexity: - useFileTypeInfo: file type detection (markdown, code, image, video, etc.) - useSkillFileData: data fetching with conditional API calls - useSkillFileSave: save logic with Ctrl+S keyboard shortcut Also fix Vercel best practice: use ternary instead of && for conditional rendering. |
||
|---|---|---|
| .. | ||
| use-create-operations.ts | ||
| use-delayed-click.ts | ||
| use-file-drop.ts | ||
| use-file-operations.ts | ||
| use-file-type-info.ts | ||
| use-folder-file-drop.ts | ||
| use-inline-create-node.ts | ||
| use-modify-operations.ts | ||
| use-root-file-drop.ts | ||
| use-skill-asset-tree.ts | ||
| use-skill-file-data.ts | ||
| use-skill-file-save.ts | ||
| use-sync-tree-with-active-tab.ts | ||
| use-tree-node-handlers.ts | ||