diff --git a/packages/core/src/query/readContract.ts b/packages/core/src/query/readContract.ts index d6b218bb3a..e293876776 100644 --- a/packages/core/src/query/readContract.ts +++ b/packages/core/src/query/readContract.ts @@ -34,6 +34,8 @@ export function readContractQueryOptions< options: ReadContractOptions = {} as any, ) { return { + // TODO: Support `signal` once Viem actions allow passthrough + // https://tkdodo.eu/blog/why-you-want-react-query#bonus-cancellation async queryFn({ queryKey }) { const abi = options.abi as Abi if (!abi) throw new Error('abi is required')