Skip to content

Commit

Permalink
fix(gatsby): set staticQueryResultHash to new hash on data change (#3…
Browse files Browse the repository at this point in the history
…2949) (#32966)

Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>
(cherry picked from commit 88e1559)

Co-authored-by: Dan Kirkham <herecy@live.co.uk>
  • Loading branch information
GatsbyJS Bot and herecydev authored Aug 31, 2021
1 parent ea161ce commit f936c93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/gatsby/src/redux/reducers/html.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand Down

0 comments on commit f936c93

Please sign in to comment.