bug fix: translations do not load on /codeeditor
This commit is contained in:
parent
48be116f5b
commit
32303494f7
@ -176,19 +176,20 @@ void loop() {
|
|||||||
localStorage.getItem("ArduinoCode")
|
localStorage.getItem("ArduinoCode")
|
||||||
? localStorage.getItem("ArduinoCode")
|
? localStorage.getItem("ArduinoCode")
|
||||||
: `
|
: `
|
||||||
#include <senseBoxIO.h> //needs to be always included
|
#include <senseBoxIO.h> //needs to be always included
|
||||||
|
|
||||||
void setup () {
|
void setup () {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
|
|
||||||
}`
|
}`
|
||||||
}
|
}
|
||||||
value={fileContent}
|
value={fileContent}
|
||||||
onMount={(editor, monaco) => {
|
onMount={(editor, monaco) => {
|
||||||
editorRef.current = editor;
|
editorRef.current = editor;
|
||||||
|
saveValue();
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user