We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87d6f5e commit 5f98d4eCopy full SHA for 5f98d4e
src/helpers/withData.js
@@ -83,7 +83,7 @@ export default (ComposedComponent) => {
83
// render within `getInitialProps()` above (since the entire prop tree
84
// will be initialized there), meaning the below will only ever be
85
// executed on the client.
86
- this.apollo = initApollo(this.props.serverState.apollo.data, {
+ this.apollo = initApollo({}, {
87
getToken: () => parseCookies(), // ['connect.sid'],
88
});
89
}
0 commit comments