Skip to content

Commit

Permalink
input empty instead of this.props.serverState.apollo.data
Browse files Browse the repository at this point in the history
  • Loading branch information
ksakiyama committed Sep 9, 2018
1 parent 87d6f5e commit 5f98d4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/withData.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export default (ComposedComponent) => {
// render within `getInitialProps()` above (since the entire prop tree
// will be initialized there), meaning the below will only ever be
// executed on the client.
this.apollo = initApollo(this.props.serverState.apollo.data, {
this.apollo = initApollo({}, {
getToken: () => parseCookies(), // ['connect.sid'],
});
}
Expand Down

0 comments on commit 5f98d4e

Please sign in to comment.