diff --git a/apollo/client.js b/apollo/client.js index 5a02db8..138a814 100644 --- a/apollo/client.js +++ b/apollo/client.js @@ -166,7 +166,7 @@ export const withApollo = ({ ssr = false } = {}) => PageComponent => { if (inAppContext) { props = { ...pageProps, apolloClient }; } else { - props = { ...pageProps, apolloClient } + props = { pageProps: { ...pageProps, apolloClient } } } // Take the Next.js AppTree, determine which queries are needed to render,