(false)
const { address } = useAccount()
const t = useTranslations('Wallet')
useEffect(() => {
setClientReady(true)
}, [])
const classNames = {
flex: 'flex items-center gap-2',
space: 'px-3 py-1 rounded-full',
border: 'border border-transparent',
hover:
'hover:bg-fuchsia-50 hover:border-fuchsia-500 hover:dark:bg-fuchsia-950',
font: 'text-sm',
active: 'active:opacity-80',
}
return (
{clientReady && (
{({ account, chain, openConnectModal, mounted, openChainModal }) => {
return (
<>
{(() => {
if (!mounted || !account || !chain || !address) {
return (
)
}
})()}
>
)
}}
)}
)
}