Skip to content

Commit d7a95a7

Browse files
committed
Fix circular reference
1 parent c15df0c commit d7a95a7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

frontend/lib/with-apollo-client/index.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ const withApolloClient = (App: any) => {
7171
pageProps.pageProps.currentUser = null
7272
pageProps.pageProps.apolloState = apolloState
7373

74+
// @ts-ignore: ignore
75+
apollo.toJSON = () => null
76+
7477
return {
7578
...pageProps,
7679
accessToken,

0 commit comments

Comments
 (0)