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) => ({ const mapStateToProps = (state) => ({
value: state.editor.code, value: state.editor.code,
language: window.LANGS[state.editor.lang].monaco, language: window.LANGS[state.editor.lang]?.monaco,
theme: 'vs-light', theme: 'vs-light',
mainSize: state.ui.main.size, mainSize: state.ui.main.size,
pretestSize: state.ui.pretest.size, pretestSize: state.ui.pretest.size,
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@hydrooj/ui-default", "name": "@hydrooj/ui-default",
"version": "4.21.1", "version": "4.21.2",
"author": "undefined <i@undefined.moe>", "author": "undefined <i@undefined.moe>",
"license": "AGPL-3.0", "license": "AGPL-3.0",
"main": "hydro.js", "main": "hydro.js",