ui: fix problem get

This commit is contained in:
undefined committed 2021-09-16 00:35:52 +08:00
1 parent 7f25778671
commit a4f39f9930
2 files changed
+2 -2

No files matched your search

@@ -4,7 +4,7 @@ import monaco, { registerAction } from 'vj/components/monaco/index';
const mapStateToProps = (state) => ({
value: state.editor.code,
language: window.LANGS[state.editor.lang].monaco,
language: window.LANGS[state.editor.lang]?.monaco,
theme: 'vs-light',
mainSize: state.ui.main.size,
pretestSize: state.ui.pretest.size,