mirror of
https://github.com/langgenius/dify.git
synced 2025-10-25 16:08:45 +00:00
10 lines
254 B
TypeScript
10 lines
254 B
TypeScript
|
|
import { useHooksStore } from '@/app/components/workflow/hooks-store'
|
||
|
|
|
||
|
|
export const useWorkflowRefreshDraft = () => {
|
||
|
|
const handleRefreshWorkflowDraft = useHooksStore(s => s.handleRefreshWorkflowDraft)
|
||
|
|
|
||
|
|
return {
|
||
|
|
handleRefreshWorkflowDraft,
|
||
|
|
}
|
||
|
|
}
|