From 12b357fad99e383b68fb5a0da3453d1ce62f5283 Mon Sep 17 00:00:00 2001 From: Matchu Date: Tue, 5 Jan 2021 06:43:33 +0000 Subject: [PATCH] oops, tweak outfit data query slightly --- src/app/WardrobePage/useOutfitState.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/WardrobePage/useOutfitState.js b/src/app/WardrobePage/useOutfitState.js index 1e27b12..356ee28 100644 --- a/src/app/WardrobePage/useOutfitState.js +++ b/src/app/WardrobePage/useOutfitState.js @@ -39,6 +39,7 @@ function useOutfitState() { id name petAppearance { + id species { id } @@ -64,6 +65,7 @@ function useOutfitState() { skip: id == null, returnPartialData: true, onCompleted: (outfitData) => { + console.log(outfitData); // This is only called once the _entire_ query loads, regardless of // `returnPartialData`. We just use that for some early UI! const outfit = outfitData.outfit;