Skip to content

Commit

Permalink
fix: compat type for viem
Browse files Browse the repository at this point in the history
  • Loading branch information
jxom committed Jun 15, 2024
1 parent d1dca6a commit 72fd3a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/query/readContract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export function readContractQueryOptions<
...parameters,
}) as Promise<ReadContractData<abi, functionName, args>>
},
queryKey: readContractQueryKey(options),
queryKey: readContractQueryKey(options as any) as any,
} as const satisfies QueryOptions<
ReadContractQueryFnData<abi, functionName, args>,
ReadContractErrorType,
Expand Down

0 comments on commit 72fd3a4

Please sign in to comment.