Merge pull request #196 from sensebox/update-code-editor

bug fix:  translations do not load  on /codeeditor
This commit is contained in:
Mario Pesch 2022-11-03 10:19:00 +01:00 committed by GitHub
commit b40a439e16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -175,8 +175,7 @@ void loop() {
defaultValue={
localStorage.getItem("ArduinoCode")
? localStorage.getItem("ArduinoCode")
: `
#include <senseBoxIO.h> //needs to be always included
: `#include <senseBoxIO.h> //needs to be always included
void setup () {
@ -189,6 +188,7 @@ void loop() {
value={fileContent}
onMount={(editor, monaco) => {
editorRef.current = editor;
saveValue();
}}
/>
</Grid>