diff --git a/apps/sim/app/w/[id]/components/control-bar/control-bar.tsx b/apps/sim/app/w/[id]/components/control-bar/control-bar.tsx index 5ce3a754c6..be618a73e4 100644 --- a/apps/sim/app/w/[id]/components/control-bar/control-bar.tsx +++ b/apps/sim/app/w/[id]/components/control-bar/control-bar.tsx @@ -198,14 +198,14 @@ export function ControlBar() { * Fetches the deployed state of the workflow from the server * This is the single source of truth for deployed workflow state */ - const fetchDeployedState = async (options = { forceRefetch: false }) => { + const fetchDeployedState = async () => { if (!activeWorkflowId) { setDeployedState(null) return } - // Skip fetching if not deployed unless forcing a refetch - if (!isDeployed && !options.forceRefetch) { + // Skip fetching if not deployed + if (!isDeployed) { setDeployedState(null) return }