'use client'; import { useAccount } from 'wagmi'; import { formatAddress } from '@/utils/format'; export function ConnectButton() { const { address, isConnected } = useAccount(); const handleConnect = () => { try { // Minimal connect without WalletConnect modal if (typeof window !== 'undefined' && (window as any).ethereum?.request) { (window as any).ethereum.request({ method: 'eth_requestAccounts' }); } } catch {} }; if (isConnected && address) { return (