From 48621fd8b78feaead830c2f5a21d06e605f00001 Mon Sep 17 00:00:00 2001 From: Tiago Gimenes Date: Sun, 12 Sep 2021 09:55:04 -0300 Subject: [PATCH] return factory --- packages/gatsby-source-store/src/sourceStore.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gatsby-source-store/src/sourceStore.ts b/packages/gatsby-source-store/src/sourceStore.ts index 4f57f83874..3fc0f874c9 100644 --- a/packages/gatsby-source-store/src/sourceStore.ts +++ b/packages/gatsby-source-store/src/sourceStore.ts @@ -50,7 +50,7 @@ export const sourceStoreType = async ({ operationName: args.operationName, document: parse(args.query), variableValues: args.variables, - contextValue: contextFactory(), + contextValue: contextFactory({}), schema, })