The connected account and status, as the wallet reports it. account is undefined until a connect succeeds, and again whenever a restored session is locked.
account
undefined
with no CantonConnectProvider above it.
const { account, isConnected } = useAccount()isConnected && <span>{account?.hint}</span> Copy
const { account, isConnected } = useAccount()isConnected && <span>{account?.hint}</span>
The connected account and status, as the wallet reports it.
accountisundefineduntil a connect succeeds, and again whenever a restored session is locked.