From 27ea333974d5df2cc266655628b9b31b42952ce6 Mon Sep 17 00:00:00 2001 From: Waleed Date: Tue, 16 Dec 2025 19:59:02 -0800 Subject: [PATCH] fix(chat): fix stale closure in workflow runner for chat (#2418) --- .../[workspaceId]/w/[workflowId]/hooks/use-workflow-execution.ts | 1 + 1 file changed, 1 insertion(+) 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 c8d5b62f2..557ea4352 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 @@ -655,6 +655,7 @@ export function useWorkflowExecution() { setExecutor, setPendingBlocks, setActiveBlocks, + workflows, ] )