From 698b5f9cc39bd42b2864cf8bb47c7db7dd86e913 Mon Sep 17 00:00:00 2001 From: Dan Kirkham Date: Sat, 28 Aug 2021 10:58:19 +0100 Subject: [PATCH] Set staticQueryResultHash to new hash --- packages/gatsby/src/redux/reducers/html.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/gatsby/src/redux/reducers/html.ts b/packages/gatsby/src/redux/reducers/html.ts index c5d44cec7fa4f..ff59170de4d32 100644 --- a/packages/gatsby/src/redux/reducers/html.ts +++ b/packages/gatsby/src/redux/reducers/html.ts @@ -113,6 +113,7 @@ export function htmlReducer( staticQueryResult.staticQueryResultHash !== action.payload.resultHash ) { staticQueryResult.dirty |= FLAG_DIRTY_STATIC_QUERY_RESULT_CHANGED + staticQueryResult.staticQueryResultHash = action.payload.resultHash } }