We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac268e9 commit c61ad1eCopy full SHA for c61ad1e
src/store.ts
@@ -406,10 +406,8 @@ const createMlStore = (logging: Logging) => {
406
407
setEditorOpen(open: boolean) {
408
set(
409
- ({ download, model }) => ({
+ ({ download }) => ({
410
isEditorOpen: open,
411
- // We just assume its been edited as spurious changes from MakeCode happen that we can't identify
412
- projectEdited: model ? true : false,
413
download: {
414
...download,
415
usbDevice: undefined,
@@ -907,6 +905,8 @@ const createMlStore = (logging: Logging) => {
907
905
);
908
906
return {
909
project: newProject,
+ // We just assume its been edited as spurious changes from MakeCode happen that we can't identify
+ projectEdited: true,
910
};
911
} else {
912
logging.log(
0 commit comments