fix mini repl draw + tutorial

This commit is contained in:
Felix Roos 2022-02-27 11:57:30 +01:00
parent 1375932c05
commit e719cea0de
4 changed files with 20 additions and 17 deletions

View file

@ -86,6 +86,7 @@ function useRepl({ tune, defaultSynth, autolink = true, onEvent, onDraw }: any)
try {
return pattern?.query(span) || [];
} catch (err: any) {
console.warn(err);
err.message = 'query error: ' + err.message;
setError(err);
return [];