fix(apollo): enable devtools configuration option
Update the Apollo Client configuration to use the new devtools option instead of the deprecated connectToDevTools. This change ensures proper integration with development tools and maintains compatibility with future Apollo updates.
This commit is contained in:
@@ -88,7 +88,9 @@ const link =
|
||||
])
|
||||
|
||||
const instance = new ApolloClient({
|
||||
connectToDevTools: true,
|
||||
devtools: {
|
||||
enabled: true,
|
||||
},
|
||||
link,
|
||||
cache,
|
||||
defaultOptions: {
|
||||
|
||||
Reference in New Issue
Block a user