mirror of
https://github.com/langgenius/dify.git
synced 2026-02-23 19:37:59 +08:00
- Improved the useAppInputsFormSchema hook to handle workflow apps by ensuring workflow data is available before proceeding. - Added guards in useCommonModalState to prevent errors from uninitialized state and ensure proper error notifications. - Enhanced useOAuthClientState to validate the presence of schema and handle missing form values more robustly. - Cleaned up code for better readability and maintainability.