diff --git a/src/components/CodeEditor/CodeEditor.js b/src/components/CodeEditor/CodeEditor.js index c4acca7..f361aa6 100644 --- a/src/components/CodeEditor/CodeEditor.js +++ b/src/components/CodeEditor/CodeEditor.js @@ -175,16 +175,15 @@ void loop() { defaultValue={ localStorage.getItem("ArduinoCode") ? localStorage.getItem("ArduinoCode") - : ` - #include //needs to be always included + : `#include //needs to be always included - void setup () { +void setup () { - } - - void loop() { - - }` +} + +void loop() { + +}` } value={fileContent} onMount={(editor, monaco) => {