mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +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,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/ui-default",
|
||||
"version": "4.21.1",
|
||||
"version": "4.21.2",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
"license": "AGPL-3.0",
|
||||
"main": "hydro.js",
|
||||
|
||||
Reference in new issue
Block a user