Skip to content

Commit 88e1559

Browse files
herecydevgatsbybot
and
gatsbybot
authored
fix(gatsby): set staticQueryResultHash to new hash on data change (#32949)
Co-authored-by: gatsbybot <[email protected]>
1 parent 4ef8437 commit 88e1559

File tree

1 file changed

+1
-0
lines changed
  • packages/gatsby/src/redux/reducers

1 file changed

+1
-0
lines changed

packages/gatsby/src/redux/reducers/html.ts

+1
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ export function htmlReducer(
113113
staticQueryResult.staticQueryResultHash !== action.payload.resultHash
114114
) {
115115
staticQueryResult.dirty |= FLAG_DIRTY_STATIC_QUERY_RESULT_CHANGED
116+
staticQueryResult.staticQueryResultHash = action.payload.resultHash
116117
}
117118
}
118119

0 commit comments

Comments
 (0)