Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/pages/evm/address/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export default function Address() {
return;
}

const mainnetRpcUrls = rpcUrls[1];
const mainnetRpcUrls = rpcUrls["eip155:1"];
if (!mainnetRpcUrls || mainnetRpcUrls.length === 0) {
setEnsError(t("noRPCForEnsResolution"));
setEnsResolving(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,8 @@ const TransactionHistory: React.FC<TransactionHistoryProps> = ({
return;
}

searchToBlockRef.current = range.fromBlock;
loadMoreFromBlockRef.current = undefined;
searchToBlockRef.current = undefined;
isAutoSearchRef.current = true;
setAutoSearchPending(false);
setSearchLimit(5);
Expand Down
4 changes: 2 additions & 2 deletions src/hooks/useENS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export function useENS(
const isMainnet = chainId === 1;

// Always use mainnet RPC for ENS resolution
const mainnetRpcUrls = rpcUrls[1];
const mainnetRpcUrls = rpcUrls["eip155:1"];

// Memoize ENSService instance to avoid recreating on every render
const ensService = useMemo(() => {
Expand Down Expand Up @@ -140,7 +140,7 @@ export function useENSResolve(ensName: string | undefined): {
const [loading, setLoading] = useState(false);
const [error, setError] = useState<string | null>(null);

const mainnetRpcUrls = rpcUrls[1];
const mainnetRpcUrls = rpcUrls["eip155:1"];

// Memoize ENSService instance
const ensService = useMemo(() => {
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useSearch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export function useSearch(): UseSearchResult {
// Return the slug as networkId for backward compatibility
const networkId = resolvedNetwork ? networkSlug : undefined;

const mainnetRpcUrls = rpcUrls[1];
const mainnetRpcUrls = rpcUrls["eip155:1"];

// Memoize ENSService instance
const ensService = useMemo(() => {
Expand Down
Loading