diff --git a/src/graphql/client.ts b/src/graphql/client.ts index e2f8adb81..63f86b556 100644 --- a/src/graphql/client.ts +++ b/src/graphql/client.ts @@ -12,11 +12,8 @@ export function getApolloClient() { return apolloClient } -export const createApolloClient = ( - graphqlUrl: string, - defaultOptions?: DefaultOptions, -): ApolloClient => { - let config: DefaultOptions = defaultOptions ?? {} +export const createApolloClient = (graphqlUrl: string): ApolloClient => { + let config: DefaultOptions = {} if (isServerSide()) { config = { query: {