diff --git a/graphql-client/src/index.js b/graphql-client/src/index.js index a2bae30..f69d524 100644 --- a/graphql-client/src/index.js +++ b/graphql-client/src/index.js @@ -169,9 +169,7 @@ export function createApolloClient ({ if (onCacheInit) { onCacheInit(cache) - apolloClient.onResetStore(() => { - onCacheInit(cache) - }) + apolloClient.onResetStore(() => onCacheInit(cache)) } return {