Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add explanation to some magic ✨
dominik-zeglena34e9f70e0c7
diff --git a/saleor/static/dashboard-next/index.tsx b/saleor/static/dashboard-next/index.tsxindex 715e1af381..42142e5785 100644--- a/saleor/static/dashboard-next/index.tsx+++ b/saleor/static/dashboard-next/index.tsx@@ -70,6 +70,8 @@ const uploadLink = createUploadLink({const apolloClient = new ApolloClient({cache: new InMemoryCache({dataIdFromObject: (obj: any) => {+ // We need to set manually shop's ID, since it is singleton and+ // API does not return its IDif (obj.__typename === "Shop") {return "shop";}