From 692ba6986415439f066bd0ad6beedf90251c4374 Mon Sep 17 00:00:00 2001 From: Vikhyath Mondreti Date: Wed, 20 Aug 2025 20:00:41 -0700 Subject: [PATCH] fix type --- .../w/[workflowId]/hooks/use-workflow-execution.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/hooks/use-workflow-execution.ts b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/hooks/use-workflow-execution.ts index d448a27f61..a3a9882dfe 100644 --- a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/hooks/use-workflow-execution.ts +++ b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/hooks/use-workflow-execution.ts @@ -549,7 +549,7 @@ export function useWorkflowExecution() { }) // Merge subblock states from the appropriate store (scoped to active workflow) - const mergedStates = mergeSubblockState(validBlocks, activeWorkflowId) + const mergedStates = mergeSubblockState(validBlocks, activeWorkflowId ?? undefined) // Debug: Check for blocks with undefined types after merging Object.entries(mergedStates).forEach(([blockId, block]) => {