mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: fix pretest
This commit is contained in:
1 parent
b6441b853b
commit
8a647dc36a
7 files changed
+30
-23
No files matched your search
@@ -37,10 +37,11 @@ const mapDispatchToProps = (dispatch) => ({
|
||||
});
|
||||
},
|
||||
postPretest(props) {
|
||||
const req = request.post(UiContext.postPretestUrl, {
|
||||
const req = request.post(UiContext.postSubmitUrl, {
|
||||
lang: props.editorLang,
|
||||
code: props.editorCode,
|
||||
input: props.pretestInput || ' ',
|
||||
pretest: true,
|
||||
});
|
||||
dispatch({
|
||||
type: 'SCRATCHPAD_POST_PRETEST',
|
||||
|
||||
Reference in new issue
Block a user