remove onLog callbacks

This commit is contained in:
Felix Roos 2022-11-12 12:07:02 +01:00
parent 0b9d59bf0e
commit 27fb2d2d5b
6 changed files with 1635 additions and 1628 deletions

View file

@ -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) => {