Skip to content

Commit

Permalink
chore: revert unnecessary change
Browse files Browse the repository at this point in the history
  • Loading branch information
teodorus-nathaniel committed Jan 30, 2024
1 parent ef44c93 commit 622dacb
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/graphql/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,8 @@ export function getApolloClient() {
return apolloClient
}

export const createApolloClient = (
graphqlUrl: string,
defaultOptions?: DefaultOptions,
): ApolloClient<NormalizedCacheObject> => {
let config: DefaultOptions = defaultOptions ?? {}
export const createApolloClient = (graphqlUrl: string): ApolloClient<NormalizedCacheObject> => {
let config: DefaultOptions = {}
if (isServerSide()) {
config = {
query: {
Expand Down

0 comments on commit 622dacb

Please sign in to comment.