core&ui: fix empty pretest input

This commit is contained in:
undefined committed 2023-02-10 21:25:55 +08:00
1 parent f30a39593f
commit 478666bdf5
2 files changed
+3 -3

No files matched your search

@@ -40,7 +40,7 @@ const mapDispatchToProps = (dispatch) => ({
const req = request.post(UiContext.postSubmitUrl, {
lang: props.editorLang,
code: props.editorCode,
input: props.pretestInput || ' ',
input: props.pretestInput,
pretest: true,
});
dispatch({