oops, un-break the homepage!
This commit is contained in:
parent
1875931a48
commit
423ab5c98d
1 changed files with 3 additions and 1 deletions
|
@ -59,7 +59,9 @@ function OutfitPreview({
|
||||||
const [isPaused] = useLocalStorage("DTIOutfitIsPaused", true);
|
const [isPaused] = useLocalStorage("DTIOutfitIsPaused", true);
|
||||||
|
|
||||||
React.useEffect(() => {
|
React.useEffect(() => {
|
||||||
onChangeHasAnimations(layersHaveAnimations);
|
if (onChangeHasAnimations) {
|
||||||
|
onChangeHasAnimations(layersHaveAnimations);
|
||||||
|
}
|
||||||
}, [layersHaveAnimations, onChangeHasAnimations]);
|
}, [layersHaveAnimations, onChangeHasAnimations]);
|
||||||
|
|
||||||
if (error || error2) {
|
if (error || error2) {
|
||||||
|
|
Loading…
Reference in a new issue