Don't show error pet preview for invalid pet state

We could also afford to figure out how to not request appearance data in this situation… but not showing the error message is a good first step lol!
This commit is contained in:
Emi Matchu 2021-02-09 22:38:40 -08:00
parent 9e49b6ae3e
commit f11fbbb831

View file

@ -705,7 +705,7 @@ function ItemPageOutfitPreview({ itemId }) {
overflow="hidden"
>
<Box>
{preview}
{petState.isValid && preview}
<CustomizeMoreButton
speciesId={petState.speciesId}
colorId={petState.colorId}