mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-05-25 15:47:49 +08: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,
|
|
}
|
|
}
|