diff --git a/src/components/WorkflowCanvas.tsx b/src/components/WorkflowCanvas.tsx index 757b2e96..5a5cd896 100644 --- a/src/components/WorkflowCanvas.tsx +++ b/src/components/WorkflowCanvas.tsx @@ -2776,23 +2776,6 @@ export function WorkflowCanvas() { ) : undefined; - // Optional toggle for input nodes - const isInputNode = node.type === "audioInput"; - const isOptional = !!(node.data as any)?.isOptional; - const optionalToggle = isInputNode ? ( - - ) : undefined; - // Fallback shield button for generation nodes const isGenerationNode = node.type === "nanoBanana" || @@ -2871,7 +2854,6 @@ export function WorkflowCanvas() { {fallbackButton} ) : undefined} - headerButtons={optionalToggle} onCustomTitleChange={handleCustomTitleChange} onCommentChange={handleCommentChange} onRunNode={handleRunNode}