remove onLog callbacks
This commit is contained in:
parent
0b9d59bf0e
commit
27fb2d2d5b
6 changed files with 1635 additions and 1628 deletions
|
|
@ -11,7 +11,6 @@ function useStrudel({
|
|||
autolink = false,
|
||||
afterEval,
|
||||
onEvalError,
|
||||
onLog,
|
||||
}) {
|
||||
// scheduler
|
||||
const [schedulerError, setSchedulerError] = useState();
|
||||
|
|
@ -27,7 +26,6 @@ function useStrudel({
|
|||
() =>
|
||||
repl({
|
||||
interval,
|
||||
onLog,
|
||||
defaultOutput,
|
||||
onSchedulerError: setSchedulerError,
|
||||
onEvalError: (err) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue