Skip to content

Commit f936c93

Browse files
GatsbyJS Botherecydev
andauthored
fix(gatsby): set staticQueryResultHash to new hash on data change (#32949) (#32966)
Co-authored-by: gatsbybot <[email protected]> (cherry picked from commit 88e1559) Co-authored-by: Dan Kirkham <[email protected]>
1 parent ea161ce commit f936c93

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

Lines changed: 1 addition & 0 deletions
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)