We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bca4e0 commit aa4cad5Copy full SHA for aa4cad5
packages/toolkit/src/query/core/buildMiddleware/invalidationByTags.ts
@@ -39,10 +39,8 @@ export const buildInvalidationByTagsHandler: InternalHandlerBuilder = ({
39
)
40
41
const isQueryEnd = isAnyOf(
42
- isFulfilled(mutationThunk),
43
- isRejected(mutationThunk),
44
- isFulfilled(queryThunk),
45
- isRejected(queryThunk)
+ isFulfilled(mutationThunk, queryThunk),
+ isRejected(mutationThunk, queryThunk)
46
47
48
let pendingTagInvalidations: FullTagDescription<string>[] = []
0 commit comments