Skip to content

Commit

Permalink
chore: reset
Browse files Browse the repository at this point in the history
  • Loading branch information
HuberTRoy committed Apr 19, 2024
1 parent 455df32 commit 1cc6589
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hooks/useContracts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import { base, baseSepolia, mainnet, sepolia } from 'viem/chains';
import { PublicClient, useNetwork, usePublicClient, useWalletClient, WalletClient } from 'wagmi';

const fetchUrls: { [key in number]: string } = {
[base.id]: process.env.REACT_APP_SUBQUERY_OFFICIAL_BASE_RPC as string,
[mainnet.id]: process.env.REACT_APP_SUBQUERY_OFFICIAL_ETH_RPC as string
[base.id]: base.rpcUrls.public.http[0] || process.env.REACT_APP_SUBQUERY_OFFICIAL_BASE_RPC,
[mainnet.id]: mainnet.rpcUrls.public.http[0] || process.env.REACT_APP_SUBQUERY_OFFICIAL_ETH_RPC
};

export function publicClientToProvider(publicClient: PublicClient) {
Expand Down

0 comments on commit 1cc6589

Please sign in to comment.