From 88b6e47c1bd9f923741900f565cf17413ef72822 Mon Sep 17 00:00:00 2001 From: shrimbly Date: Fri, 27 Feb 2026 23:56:47 +1300 Subject: [PATCH] fix: remove invalid null fields from conditionalSwitch quickstart default The customTitle and comment fields are typed as string | undefined, not string | null. Remove them from the quickstart default data to fix the TypeScript build error. Co-Authored-By: Claude Opus 4.6 --- src/lib/quickstart/validation.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/quickstart/validation.ts b/src/lib/quickstart/validation.ts index 1b30bf39..d1e0a40c 100644 --- a/src/lib/quickstart/validation.ts +++ b/src/lib/quickstart/validation.ts @@ -401,8 +401,6 @@ function createDefaultNodeData(type: NodeType): WorkflowNodeData { return { inputType: null, switches: [{ id: "sw-1", name: "Output 1", enabled: true }] }; case "conditionalSwitch": return { - customTitle: null, - comment: null, incomingText: null, rules: [ {