diff --git a/src/pages/VisProgPage/visualProgrammingUI/components/DragDropSidebar.tsx b/src/pages/VisProgPage/visualProgrammingUI/components/DragDropSidebar.tsx index 128aed1..5d626d3 100644 --- a/src/pages/VisProgPage/visualProgrammingUI/components/DragDropSidebar.tsx +++ b/src/pages/VisProgPage/visualProgrammingUI/components/DragDropSidebar.tsx @@ -80,23 +80,9 @@ function addNode(nodeType: string, position: XYPosition) { id: `phase-${phaseNumber}`, type: nodeType, position, - data: {label: `"new"`, number: phaseNumber}, + data: {label: 'new', number: phaseNumber}, }; } - case "start": - return { - id: getId(), - type: nodeType, - position, - data: {label: `new start node`}, - }; - case "end": - return { - id: getId(), - type: nodeType, - position, - data: {label: `new end node`}, - }; case "norm": { const normNumber = nds.filter((node) => node.type === 'norm').length;