NO NODES????

main
Alex 2022-07-15 09:13:22 +03:00
parent 0a3f3a8357
commit 55117d01c2
2 changed files with 1 additions and 7 deletions

View File

@ -3,7 +3,7 @@ import Editor from "@monaco-editor/react";
const CodeEditor = () => {
return (
<Editor
height="90vh" // тут фигня, у меня кусок белый остается, высоты ему не хватает
height="100vh" // тут фигня, у меня кусок белый остается, высоты ему не хватает
defaultLanguage="cpp"
theme="vs-dark"
defaultValue="// some comment"

View File

@ -1,12 +1,6 @@
import { Node } from "react-flow-renderer";
const initialNodes: Node[] = [
{
id: "1",
type: "generic",
data: { label: "Старт" },
position: { x: 0, y: 0 },
},
];
export default initialNodes;