Skip to content

Commit 0ce2b29

Browse files
committed
remove unnecessary code
1 parent 53f07d3 commit 0ce2b29

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/components/flow/FlowCanvas.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ export function FlowCanvas({ onDeploy }: FlowCanvasProps) {
4242
updateNodeLabel(id, newLabel);
4343
};
4444

45-
const handleDeploy = () => {
46-
if (onDeploy) {
47-
onDeploy(nodes, edges);
48-
} else {
49-
console.log('DEPLOY:', { nodes, edges });
50-
alert('Model data printed to console!\n(Next step: send to Vitruvius backend)');
51-
}
52-
};
45+
// const handleDeploy = () => {
46+
// if (onDeploy) {
47+
// onDeploy(nodes, edges);
48+
// } else {
49+
// console.log('DEPLOY:', { nodes, edges });
50+
// alert('Model data printed to console!\n(Next step: send to Vitruvius backend)');
51+
// }
52+
// };
5353

5454
return (
5555
<div

0 commit comments

Comments
 (0)