Skip to content

Commit 5f98d4e

Browse files
committed
input empty instead of this.props.serverState.apollo.data
1 parent 87d6f5e commit 5f98d4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers/withData.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export default (ComposedComponent) => {
8383
// render within `getInitialProps()` above (since the entire prop tree
8484
// will be initialized there), meaning the below will only ever be
8585
// executed on the client.
86-
this.apollo = initApollo(this.props.serverState.apollo.data, {
86+
this.apollo = initApollo({}, {
8787
getToken: () => parseCookies(), // ['connect.sid'],
8888
});
8989
}

0 commit comments

Comments
 (0)