We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59ef4e3 commit 1ea9dc3Copy full SHA for 1ea9dc3
2 files changed
.changeset/wide-mangos-guess.md
@@ -0,0 +1,5 @@
1
+---
2
+'@faustwp/core': patch
3
4
+
5
+Changed the way the devtools option is configured for the Apollo Client
packages/faustwp-core/src/client.ts
@@ -102,7 +102,9 @@ export function createApolloClient(authenticated = false) {
102
103
let apolloClientOptions: ApolloClientOptions<NormalizedCacheObject> = {
104
ssrMode: typeof window === 'undefined',
105
- connectToDevTools: typeof window !== 'undefined',
+ devtools: {
106
+ enabled: typeof window !== 'undefined',
107
+ },
108
link: linkChain,
109
cache: new InMemoryCache(inMemoryCacheObject).restore(windowApolloState),
110
};
0 commit comments