fix: another dependency array

This commit is contained in:
Felix Roos 2023-01-14 10:58:30 +01:00
parent 88684d6d9e
commit 2732d64beb
4 changed files with 217 additions and 209 deletions

View file

@ -100,7 +100,7 @@ function useStrudel({
onDraw(pat, -0.001, haps, drawTime);
}
},
[drawTime, onDraw],
[drawContext, drawTime, onDraw],
);
const inited = useRef();