mirror of
https://github.com/langgenius/dify.git
synced 2025-07-15 21:24:23 +00:00
12 lines
216 B
TypeScript
12 lines
216 B
TypeScript
![]() |
import { useCallback } from 'react'
|
||
|
|
||
|
export const useWorkflowRefreshDraft = () => {
|
||
|
const handleRefreshWorkflowDraft = useCallback(() => {
|
||
|
return true
|
||
|
}, [])
|
||
|
|
||
|
return {
|
||
|
handleRefreshWorkflowDraft,
|
||
|
}
|
||
|
}
|