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 cbfb2fa commit 804e37cCopy full SHA for 804e37c
packages/clients/tanstack-query/src/react.ts
@@ -491,9 +491,9 @@ export function useInternalMutation<
491
const finalOptions = { ...options, mutationFn };
492
const invalidateQueries = options?.invalidateQueries !== false;
493
const optimisticUpdate = !!options?.optimisticUpdate;
494
+ const { logging } = useContext(QuerySettingsContext);
495
496
if (operation) {
- const { logging } = useContext(QuerySettingsContext);
497
if (invalidateQueries) {
498
setupInvalidation(
499
model,
0 commit comments