diff --git a/src/app/components/OutfitPreview.js b/src/app/components/OutfitPreview.js
index 1f1c68e..d13381f 100644
--- a/src/app/components/OutfitPreview.js
+++ b/src/app/components/OutfitPreview.js
@@ -77,8 +77,9 @@ export function useOutfitPreview({
}
}, [layersHaveAnimations, onChangeHasAnimations]);
+ let preview;
if (error || error2) {
- return (
+ preview = (
@@ -87,22 +88,22 @@ export function useOutfitPreview({
);
+ } else {
+ preview = (
+
+ );
}
- const preview = (
-
- );
-
return { appearance, preview };
}