We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd2838a commit 4cda2b4Copy full SHA for 4cda2b4
apps/sim/stores/workflows/workflow/store.ts
@@ -1119,7 +1119,7 @@ export const useWorkflowStore = create<WorkflowStore>()(
1119
1120
const newState = {
1121
blocks: deployedState.blocks,
1122
- edges: filterValidEdges(deployedState.edges || [], deployedState.blocks || {}),
+ edges: filterValidEdges(deployedState.edges, deployedState.blocks),
1123
loops: deployedState.loops || {},
1124
parallels: deployedState.parallels || {},
1125
needsRedeployment: false,
0 commit comments