From 0e4f5e67774e9e33fcd73595d2391af9bc3d41be Mon Sep 17 00:00:00 2001 From: shrimbly Date: Fri, 27 Feb 2026 23:55:36 +1300 Subject: [PATCH] fix: add missing conditionalSwitch dimensions in WorkflowCanvas The inline defaultDimensions record in the keyboard shortcut handler was missing the conditionalSwitch entry, causing a TypeScript build error. Co-Authored-By: Claude Opus 4.6 --- src/components/WorkflowCanvas.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/WorkflowCanvas.tsx b/src/components/WorkflowCanvas.tsx index 47286220..2064f614 100644 --- a/src/components/WorkflowCanvas.tsx +++ b/src/components/WorkflowCanvas.tsx @@ -1346,6 +1346,7 @@ export function WorkflowCanvas() { videoFrameGrab: { width: 320, height: 320 }, router: { width: 200, height: 80 }, switch: { width: 220, height: 120 }, + conditionalSwitch: { width: 260, height: 180 }, glbViewer: { width: 360, height: 380 }, }; const dims = defaultDimensions[nodeType];