This commit is contained in:
Dmitry Vasilev
2023-07-14 04:14:52 +03:00
parent 255e9414d2
commit ff80294376
2 changed files with 23 additions and 24 deletions

View File

@@ -540,11 +540,11 @@ const change_current_module = (state, current_module) => {
}
}
const change_entrypoint = (state, entrypoint) => {
const change_entrypoint = (state, entrypoint, current_module = entrypoint) => {
return run_code(
{...state,
entrypoint,
current_module: entrypoint,
current_module,
}
)
}