From 20f3ca75b00754ce444fbf128a631ef9880803fa Mon Sep 17 00:00:00 2001 From: Matchu Date: Tue, 5 Jan 2021 06:45:27 +0000 Subject: [PATCH] fix caching on Your Outfits page Oh right, we can't cache objects well when they're missing their ID! Before this change, selecting an outfit then navigating back would require the outfits to reload. Now, they stay! --- src/app/UserOutfitsPage.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/UserOutfitsPage.js b/src/app/UserOutfitsPage.js index d7c4a47..608ef78 100644 --- a/src/app/UserOutfitsPage.js +++ b/src/app/UserOutfitsPage.js @@ -33,6 +33,7 @@ function UserOutfitsPageContent() { gql` query UserOutfitsPageContent($size: LayerImageSize) { currentUser { + id outfits { id name