Skip to content

Commit

Permalink
fix: hook query options
Browse files Browse the repository at this point in the history
  • Loading branch information
jayeshbhole-rp committed Nov 19, 2024
1 parent 50642e9 commit 342ceee
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/react/src/hooks/useTransactionReceipt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ export type UseTransactionReceiptParams = {
chainId: ChainId;
/** Transaction overrides {@link GetTransactionReceiptOverrides} */
overrides?: GetTransactionReceiptOverrides;
queryOptions?: QueryParameter;
};
} & QueryParameter;

/**
* Transaction Receipt Hook
Expand All @@ -27,7 +26,7 @@ export const useTransactionReceipt = ({
transactionParams,
chainId,
overrides,
queryOptions = {},
...queryOptions
}: UseTransactionReceiptParams) => {
const connectionOrConfig = useConnectionOrConfig();
const chain = useChain(chainId);
Expand Down

0 comments on commit 342ceee

Please sign in to comment.