We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f391a6a commit d2089e4Copy full SHA for d2089e4
src/apollo-provider.js
@@ -154,9 +154,7 @@ export class ApolloProvider {
154
globalName: '__APOLLO_STATE__',
155
attachTo: 'window',
156
}, options)
157
- const states = this.getStates({
158
- exportNamespace: finalOptions.exportNamespace,
159
- })
+ const states = this.getStates(finalOptions)
160
const js = `${finalOptions.attachTo}.${finalOptions.globalName} = ${JSON.stringify(states)};`
161
return js
162
}
0 commit comments