diff --git a/packages/query-core/src/thenable.ts b/packages/query-core/src/thenable.ts index c8308b4888..5e54411ea2 100644 --- a/packages/query-core/src/thenable.ts +++ b/packages/query-core/src/thenable.ts @@ -98,7 +98,7 @@ export function tryResolveSync(promise: Promise | Thenable) { .then((result) => { data = result return result - }) + }, noop) // .catch can be unavailable on certain kinds of thenable's // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition ?.catch(noop)