oops, un-break the homepage!

This commit is contained in:
Emi Matchu 2020-10-08 04:20:23 -07:00
parent 1875931a48
commit 423ab5c98d

View file

@ -59,7 +59,9 @@ function OutfitPreview({
const [isPaused] = useLocalStorage("DTIOutfitIsPaused", true); const [isPaused] = useLocalStorage("DTIOutfitIsPaused", true);
React.useEffect(() => { React.useEffect(() => {
if (onChangeHasAnimations) {
onChangeHasAnimations(layersHaveAnimations); onChangeHasAnimations(layersHaveAnimations);
}
}, [layersHaveAnimations, onChangeHasAnimations]); }, [layersHaveAnimations, onChangeHasAnimations]);
if (error || error2) { if (error || error2) {