Skip to content

Commit

Permalink
fix: update network switching to use direct wallet requests
Browse files Browse the repository at this point in the history
- Replace wagmi switchNetwork with direct wallet_switchEthereumChain calls
- Add proper error handling for network switching failures
- Update notification messages for better UX
- Remove unused imports
  • Loading branch information
0age committed Dec 7, 2024
1 parent 28fb875 commit 89eb030
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion frontend/src/components/Transfer.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { useState } from 'react';
import { useAccount, useChainId } from 'wagmi';
import { useNotification } from '../hooks/useNotification';
import { config } from '../config/wagmi';

interface TransferProps {
chainId: string;
Expand Down

0 comments on commit 89eb030

Please sign in to comment.