From f11fbbb831124d72bcd735d97eb54815b12577da Mon Sep 17 00:00:00 2001 From: Matchu Date: Tue, 9 Feb 2021 22:38:40 -0800 Subject: [PATCH] Don't show error pet preview for invalid pet state MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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! --- src/app/ItemPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/ItemPage.js b/src/app/ItemPage.js index 29636e9..9148136 100644 --- a/src/app/ItemPage.js +++ b/src/app/ItemPage.js @@ -705,7 +705,7 @@ function ItemPageOutfitPreview({ itemId }) { overflow="hidden" > - {preview} + {petState.isValid && preview}