Skip to content

Commit

Permalink
disable retry
Browse files Browse the repository at this point in the history
  • Loading branch information
technophile-04 committed Aug 21, 2024
1 parent 0038c99 commit 41c6d7d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/nextjs/hooks/useFetchContractAbi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ const useFetchContractAbi = ({ contractAddress, chainId, publicClient }: FetchCo
queryKey: ["contractAbi", { contractAddress, chainId: chainId }],
queryFn: fetchAbi,
enabled: isAddress(contractAddress) && chainId !== 31337,
retry: false,
});

return {
Expand Down

0 comments on commit 41c6d7d

Please sign in to comment.