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)

Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>
(cherry picked from commit 88e1559)
  • Loading branch information
herecydev authored and vladar committed Aug 31, 2021
1 parent ea161ce commit 9443630
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/gatsby/src/redux/reducers/html.ts
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 9443630

Please sign in to comment.