"use client"; import { ConnectButton } from "@rainbow-me/rainbowkit"; import { Balances } from "@/components/Balances"; import { useZetaChainClient } from "@/components/Balances/hooks/useZetaChainClient"; import { useEthersSigner } from "@/components/Balances/hooks/useEthersSigner"; import { useAccount, useSwitchChain, useChainId, useWalletClient } from "wagmi"; const url = "https://zetachain-athens.g.allthatnode.com/archive/evm"; function Page() { const account = useAccount(); const chainId = useChainId(); const { data: walletClient } = useWalletClient({ chainId }); const signer = useEthersSigner({ walletClient }); const client = useZetaChainClient({ signer, url }); return (