scheduler error handling

This commit is contained in:
Felix Roos 2022-11-10 22:25:58 +01:00
parent b5c51e231b
commit 1a1363ef77
3 changed files with 7 additions and 2 deletions

View file

@ -30,6 +30,7 @@ function useStrudel({ defaultOutput, interval, getTime, evalOnMount = false, ini
setActiveCode(code);
setPattern(_pattern);
setEvalError();
setSchedulerError();
if (autolink) {
window.location.hash = '#' + encodeURIComponent(btoa(code));
}