From a137df338cd6b0d387ea810d5cfef1008d9b6153 Mon Sep 17 00:00:00 2001 From: Adam Gough Date: Fri, 30 May 2025 12:21:01 -0700 Subject: [PATCH] got rid of the force sync --- apps/sim/app/w/[id]/hooks/use-deployment-change-detection.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/apps/sim/app/w/[id]/hooks/use-deployment-change-detection.ts b/apps/sim/app/w/[id]/hooks/use-deployment-change-detection.ts index 2f079729bb..8599c7911a 100644 --- a/apps/sim/app/w/[id]/hooks/use-deployment-change-detection.ts +++ b/apps/sim/app/w/[id]/hooks/use-deployment-change-detection.ts @@ -41,10 +41,6 @@ export function useDeploymentChangeDetection(activeWorkflowId: string | null, is logger.debug(`Checking for changes in workflow ${requestedWorkflowId}`) try { - // Force immediate sync to ensure database has the latest subBlock values - // This is important because subBlock changes have a debounced sync delay - const { workflowSync } = await import('@/stores/workflows/sync') - await workflowSync.sync() // Get the deployed state from the API const response = await fetch(`/api/workflows/${requestedWorkflowId}/status`)