fix build error

This commit is contained in:
yoan
2024-12-11 22:53:37 +08:00
parent 9764fb481f
commit 419b6eb626
6 changed files with 7 additions and 7 deletions

View File

@@ -9,8 +9,8 @@ import {
removeBranch,
removeNode,
updateNode,
WorkflowModel,
WorkflowBranchNode,
WorkflowModel,
WorkflowNode,
WorkflowNodeType,
} from "@/domain/workflow";
@@ -39,7 +39,7 @@ export const useWorkflowStore = create<WorkflowState>((set, get) => ({
},
initialized: false,
init: async (id?: string) => {
let data = {
let data: WorkflowModel = {
id: "",
name: "placeholder",
type: "auto",