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>
  • Loading branch information
herecydev and gatsbybot committed Aug 30, 2021
1 parent 4ef8437 commit 88e1559
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 88e1559

Please sign in to comment.