ui: lazyload graphiql

This commit is contained in:
undefined committed 2021-09-14 02:14:58 +08:00
1 parent 32694f5a1d
commit 24f001f666
5 files changed
+6 -6

No files matched your search

@@ -61,7 +61,7 @@ export default connect(mapStateToProps, mapDispatchToProps)(class MonacoEditor e
this.editor.onDidChangeConfiguration(() => {
const current = this.editor.getOptions()._values[40].fontSize;
localStorage.setItem('scratchpad.editor.fontSize', current);
})
}),
);
}
}
@@ -94,7 +94,7 @@ export default connect(mapStateToProps, mapDispatchToProps)(class MonacoEditor e
range: model.getFullModelRange(),
text: value,
},
]
],
);
editor.pushUndoStop();
this.__prevent_trigger_change_event = false;