chore: workflow sync with hash (#4250)

This commit is contained in:
zxhlyh 2024-05-10 14:48:20 +08:00 • committed by GitHub
commit a1ab87107b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 74 additions and 22 deletions

View file

@ -10,7 +10,7 @@ import {
NodeRunningStatus,
WorkflowRunningStatus,
} from '../types'
import { useWorkflowInteractions } from './use-workflow-interactions'
import { useWorkflowUpdate } from './use-workflow-interactions'
import { useStore as useAppStore } from '@/app/components/app/store'
import type { IOtherOptions } from '@/service/base'
import { ssePost } from '@/service/base'
@ -26,7 +26,7 @@ export const useWorkflowRun = () => {
const reactflow = useReactFlow()
const featuresStore = useFeaturesStore()
const { doSyncWorkflowDraft } = useNodesSyncDraft()
const { handleUpdateWorkflowCanvas } = useWorkflowInteractions()
const { handleUpdateWorkflowCanvas } = useWorkflowUpdate()
const handleBackupDraft = useCallback(() => {
const {