From 05f7b3fcc75b7dbdc341d92cef203721d64fe708 Mon Sep 17 00:00:00 2001 From: Matchu Date: Thu, 24 Sep 2020 06:43:46 -0700 Subject: [PATCH] oops, fix missing hook deps --- src/app/components/OutfitCanvas.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/components/OutfitCanvas.js b/src/app/components/OutfitCanvas.js index 4e55d97..923cb33 100644 --- a/src/app/components/OutfitCanvas.js +++ b/src/app/components/OutfitCanvas.js @@ -60,7 +60,7 @@ function OutfitCanvas({ // NOTE: We don't bother firing an update, because we trust the ticker // to do it on the next frame. }, - [stage] + [stage, onChangeHasAnimations] ); const removeChild = React.useCallback( @@ -78,7 +78,7 @@ function OutfitCanvas({ // to do it on the next frame. (And, I don't understand why, but // updating here actually paused remaining movies! So, don't!) }, - [stage] + [stage, onChangeHasAnimations] ); const addResizeListener = React.useCallback((handler) => {