Skip to content

Commit

Permalink
use baseSepolia import
Browse files Browse the repository at this point in the history
  • Loading branch information
0xAlec committed Sep 13, 2024
1 parent b705e42 commit 2fb8811
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/transaction/components/TransactionProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
useState,
} from 'react';
import type { Address } from 'viem';
import { baseSepolia } from 'viem/chains';
import {
useAccount,
useConfig,
Expand Down Expand Up @@ -79,7 +80,7 @@ export function TransactionProvider({

// Retrieve wallet capabilities
const walletCapabilities = useCapabilitiesSafe({
chainId: chainId || 84532,
chainId: chainId || baseSepolia.id,
}); // defaults to Base Sepolia if not provided

const { switchChainAsync } = useSwitchChain();
Expand Down

0 comments on commit 2fb8811

Please sign in to comment.