fix: another dependency array
This commit is contained in:
parent
88684d6d9e
commit
2732d64beb
4 changed files with 217 additions and 209 deletions
|
|
@ -100,7 +100,7 @@ function useStrudel({
|
|||
onDraw(pat, -0.001, haps, drawTime);
|
||||
}
|
||||
},
|
||||
[drawTime, onDraw],
|
||||
[drawContext, drawTime, onDraw],
|
||||
);
|
||||
|
||||
const inited = useRef();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue