mirror of
https://github.com/langgenius/dify.git
synced 2026-03-17 12:57:51 +08:00
This commit refactors the document actions and metadata components to enhance code clarity and maintainability. Key changes include: - Simplified the hook by removing unnecessary type assertions. - Streamlined the rendering logic in the component by consolidating JSX elements. - Updated dependencies in the hook to ensure proper reactivity. These adjustments aim to improve the overall structure and performance of the document management features.