diff --git a/examples/with-apollo-auth/lib/withApollo.js b/examples/with-apollo-auth/lib/withApollo.js index d9e09ca9..ac0dd78a 100644 --- a/examples/with-apollo-auth/lib/withApollo.js +++ b/examples/with-apollo-auth/lib/withApollo.js @@ -79,11 +79,9 @@ export default App => { super(props) // `getDataFromTree` renders the component first, the client is passed off as a property. // After that rendering is done using Next's normal rendering pipeline - this.apolloClient = - props.apolloClient || - initApollo(props.apolloState.data, { - getToken: () => parseCookies().token - }) + this.apolloClient = initApollo(props.apolloState.data, { + getToken: () => parseCookies().token + }) } render() {