diff --git a/src/components/CodeEditor/CodeEditor.js b/src/components/CodeEditor/CodeEditor.js index 08e40f5..c4acca7 100644 --- a/src/components/CodeEditor/CodeEditor.js +++ b/src/components/CodeEditor/CodeEditor.js @@ -176,19 +176,20 @@ void loop() { 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) => { editorRef.current = editor; + saveValue(); }} />