chore: slice workflow refresh draft hook (#19292)

This commit is contained in:
zxhlyh 2025-05-06 18:24:10 +08:00 • committed by GitHub
commit a6827493f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 58 additions and 29 deletions

View file

@ -0,0 +1,9 @@
import { useHooksStore } from '@/app/components/workflow/hooks-store'
export const useWorkflowRefreshDraft = () => {
const handleRefreshWorkflowDraft = useHooksStore(s => s.handleRefreshWorkflowDraft)
return {
handleRefreshWorkflowDraft,
}
}