dify/web/app/components/rag-pipeline/hooks/use-pipeline-refresh-draft.ts

12 lines
216 B
TypeScript
Raw Normal View History

2025-05-07 16:30:24 +08:00
import { useCallback } from 'react'
2025-05-09 15:53:31 +08:00
export const usePipelineRefreshDraft = () => {
2025-05-07 16:30:24 +08:00
const handleRefreshWorkflowDraft = useCallback(() => {
return true
}, [])
return {
handleRefreshWorkflowDraft,
}
}