mirror of
https://github.com/leporello-js/leporello-js
synced 2026-01-13 21:14:28 -08:00
fix
This commit is contained in:
@@ -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,
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user