From bbb2c20b6e80bd4583922a5f1ecf3ecb2e83143d Mon Sep 17 00:00:00 2001 From: Dean Date: Tue, 5 Nov 2024 09:35:43 +0000 Subject: [PATCH] Removed comment and debug console log --- .../automation/AutomationBuilder/DraggableCanvas.svelte | 3 --- packages/builder/src/stores/builder/automations.js | 1 - 2 files changed, 4 deletions(-) diff --git a/packages/builder/src/components/automation/AutomationBuilder/DraggableCanvas.svelte b/packages/builder/src/components/automation/AutomationBuilder/DraggableCanvas.svelte index 7a6284318f..b096c016df 100644 --- a/packages/builder/src/components/automation/AutomationBuilder/DraggableCanvas.svelte +++ b/packages/builder/src/components/automation/AutomationBuilder/DraggableCanvas.svelte @@ -118,9 +118,6 @@ // Edge around the draggable content let contentDragPadding = 200 - // Auto scroll - // let scrollInterval - const onScale = async () => { dispatch("zoom", $view.scale) await getDims() diff --git a/packages/builder/src/stores/builder/automations.js b/packages/builder/src/stores/builder/automations.js index c7b0b9c652..8f54f85ef5 100644 --- a/packages/builder/src/stores/builder/automations.js +++ b/packages/builder/src/stores/builder/automations.js @@ -402,7 +402,6 @@ const automationActions = store => ({ traverse: (blockRefs, automation) => { let blocks = [] if (!automation || !blockRefs) { - console.error("Need a valid automation") return } if (automation.definition?.trigger) {