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
|
id
|
||||||
name
|
name
|
||||||
petAppearance {
|
petAppearance {
|
||||||
|
id
|
||||||
species {
|
species {
|
||||||
id
|
id
|
||||||
}
|
}
|
||||||
|
@ -64,6 +65,7 @@ function useOutfitState() {
|
||||||
skip: id == null,
|
skip: id == null,
|
||||||
returnPartialData: true,
|
returnPartialData: true,
|
||||||
onCompleted: (outfitData) => {
|
onCompleted: (outfitData) => {
|
||||||
|
console.log(outfitData);
|
||||||
// This is only called once the _entire_ query loads, regardless of
|
// This is only called once the _entire_ query loads, regardless of
|
||||||
// `returnPartialData`. We just use that for some early UI!
|
// `returnPartialData`. We just use that for some early UI!
|
||||||
const outfit = outfitData.outfit;
|
const outfit = outfitData.outfit;
|
||||||
|
|
Loading…
Reference in a new issue