oops, tweak outfit data query slightly
This commit is contained in:
parent
95d94a4844
commit
12b357fad9
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue