Feat: shortcut hook (#7385)

This commit is contained in:
Yi Xiao 2024-08-19 18:11:11 +08:00 • committed by GitHub
commit 8b06105fa1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 402 additions and 332 deletions

View file

@ -8,7 +8,9 @@ import {
} from '../store'
import { BlockEnum } from '../types'
import { useWorkflowUpdate } from '../hooks'
import { useNodesReadOnly } from './use-workflow'
import {
useNodesReadOnly,
} from './use-workflow'
import { syncWorkflowDraft } from '@/service/workflow'
import { useFeaturesStore } from '@/app/components/base/features/hooks'
import { API_PREFIX } from '@/config'