Skip to content

Commit 7860894

Browse files
Vikhyath MondretiVikhyath Mondreti
authored andcommitted
fix incorrect dep
1 parent 52ffc39 commit 7860894

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

apps/sim/hooks/use-collaborative-workflow.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -410,12 +410,6 @@ export function useCollaborativeWorkflow() {
410410

411411
const executeQueuedOperation = useCallback(
412412
(operation: string, target: string, payload: any, localAction: () => void) => {
413-
console.log('🎯 executeQueuedOperation called', {
414-
operation,
415-
target,
416-
isApplyingRemoteChange: isApplyingRemoteChange.current,
417-
})
418-
419413
if (isApplyingRemoteChange.current) {
420414
return
421415
}
@@ -762,7 +756,7 @@ export function useCollaborativeWorkflow() {
762756
workflowStore.removeEdge(edgeId)
763757
)
764758
},
765-
[workflowStore, emitWorkflowOperation]
759+
[executeQueuedOperation, workflowStore]
766760
)
767761

768762
const collaborativeSetSubblockValue = useCallback(

0 commit comments

Comments
 (0)