From 786089400764782fa5710f66424a44995b7f93be Mon Sep 17 00:00:00 2001 From: Vikhyath Mondreti Date: Fri, 11 Jul 2025 20:24:37 -0700 Subject: [PATCH] fix incorrect dep --- apps/sim/hooks/use-collaborative-workflow.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/apps/sim/hooks/use-collaborative-workflow.ts b/apps/sim/hooks/use-collaborative-workflow.ts index 79ce111df0..cd5666e558 100644 --- a/apps/sim/hooks/use-collaborative-workflow.ts +++ b/apps/sim/hooks/use-collaborative-workflow.ts @@ -410,12 +410,6 @@ export function useCollaborativeWorkflow() { const executeQueuedOperation = useCallback( (operation: string, target: string, payload: any, localAction: () => void) => { - console.log('🎯 executeQueuedOperation called', { - operation, - target, - isApplyingRemoteChange: isApplyingRemoteChange.current, - }) - if (isApplyingRemoteChange.current) { return } @@ -762,7 +756,7 @@ export function useCollaborativeWorkflow() { workflowStore.removeEdge(edgeId) ) }, - [workflowStore, emitWorkflowOperation] + [executeQueuedOperation, workflowStore] ) const collaborativeSetSubblockValue = useCallback(