mirror of
https://github.com/langgenius/dify.git
synced 2026-03-18 05:09:54 +08:00
Extract repeated appId retrieval and tree data fetching patterns into dedicated hooks (useSkillAssetTreeData, useSkillAssetNodeMap) to reduce code duplication across 6 components and leverage TanStack Query's select option for efficient nodeMap computation.