ant-design / ant-design-web3

🥳 Efficient react components for building dapps easier | Connect crypto wallets and more Web3 UI components | Web3 icons | Supports Ethereum, Solana, Bitcoin, TON, Sui and others.
https://web3.ant.design
MIT License
891 stars 147 forks source link

[Bug] useAccount can not find type #1175

Open LCJove opened 2 months ago

LCJove commented 2 months ago

What happens?

const { account } = useAccount() 此时的 account 的类型是 any

const { account } = useAccount()

Context

LCJove commented 2 months ago

看起来像是循环依赖的问题