hotfix: fix share #261

This commit is contained in:
Felix Roos 2022-11-13 21:32:46 +01:00
parent 2e8a1b67ea
commit 4313fe670d
3 changed files with 16 additions and 16 deletions

View file

@ -18,7 +18,7 @@ function useStrudel({
const [schedulerError, setSchedulerError] = useState();
const [evalError, setEvalError] = useState();
const [code, setCode] = useState(initialCode);
const [activeCode, setActiveCode] = useState(code);
const [activeCode, setActiveCode] = useState();
const [pattern, setPattern] = useState();
const [started, setStarted] = useState(false);
const isDirty = code !== activeCode;