You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gcgj-dify-1.7.0/web/app/components/rag-pipeline/hooks/use-pipeline-refresh-draft.ts

12 lines
216 B
TypeScript

import { useCallback } from 'react'
export const usePipelineRefreshDraft = () => {
const handleRefreshWorkflowDraft = useCallback(() => {
return true
}, [])
return {
handleRefreshWorkflowDraft,
}
}