diff --git a/examples/with-apollo/lib/withData.js b/examples/with-apollo/lib/withData.js index 65aa9fba..396cb310 100644 --- a/examples/with-apollo/lib/withData.js +++ b/examples/with-apollo/lib/withData.js @@ -18,7 +18,11 @@ export default ComposedComponent => { static async getInitialProps (ctx) { // Initial serverState with apollo (empty) - let serverState = { apollo: { } } + let serverState = { + apollo: { + data: { } + } + } // Evaluate the composed component's getInitialProps() let composedInitialProps = {}