diff --git a/frontend/src/components/tree-editor/NodeFormDecision.tsx b/frontend/src/components/tree-editor/NodeFormDecision.tsx index 7cd0d353..06acf18c 100644 --- a/frontend/src/components/tree-editor/NodeFormDecision.tsx +++ b/frontend/src/components/tree-editor/NodeFormDecision.tsx @@ -1,6 +1,5 @@ import { Play } from 'lucide-react' import { DynamicArrayField } from './DynamicArrayField' -import { NodePicker } from './NodePicker' import { useTreeEditorStore } from '@/store/treeEditorStore' import type { TreeStructure, TreeOption } from '@/types' import { cn } from '@/lib/utils' @@ -147,52 +146,34 @@ export function NodeFormDecision({ node, onUpdate }: NodeFormDecisionProps) { const optionLabelError = validationErrors.find( e => e.nodeId === node.id && e.field === `options[${index}].label` ) - const optionNextError = validationErrors.find( - e => e.nodeId === node.id && e.field === `options[${index}].next_node_id` - ) const letter = indexToLetter(index) return ( -
{optionLabelError.message}
- )} -{optionLabelError.message}
+ )}