Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
António Santos committed Mar 27, 2020
1 parent d0090c7 commit 8ae2709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apollo/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

1 comment on commit 8ae2709

@vercel
Copy link

@vercel vercel bot commented on 8ae2709 Mar 27, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.