oops, fix missing react hook dep!
This commit is contained in:
parent
456a098df9
commit
d99f5d7ac8
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ function OutfitMovieLayer({
|
||||||
}
|
}
|
||||||
|
|
||||||
return () => stage.removeChild(movieClip);
|
return () => stage.removeChild(movieClip);
|
||||||
}, [stage, movieClip]);
|
}, [stage, movieClip, onLoad]);
|
||||||
|
|
||||||
// This effect updates the `stage` according to the `library`'s framerate,
|
// This effect updates the `stage` according to the `library`'s framerate,
|
||||||
// but only if there's actual animation to do - i.e., there's more than one
|
// but only if there's actual animation to do - i.e., there's more than one
|
||||||
|
|
Loading…
Reference in a new issue