mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
ui: fix problem get
This commit is contained in:
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,
|
||||
|
||||
Reference in new issue
Block a user