admin管理员组文章数量:1399899
When I switch accounts directly through Petra wallet extension, the useWallet() hook does not update the account state. It does not happen when I switch between accounts already connected to the wallet in the past, it's ok. However, when I switch to the new account, hook useWallet() in @aptos-labs/wallet-adapter-react does not update new account data.
I guess I am using an old version. Please help me figure out this problem. Below is my library's version I use in my app
@aptos-labs/wallet-adapter-react: ^3.4.2
petra-plugin-wallet-adapter: ^0.4.5
react: 18.2.0
next: 14.3.0-canary.0
本文标签:
版权声明:本文标题:reactjs - hook useWallet() in library @aptos-labswallet-adapter-react does not update account data when i manually change accoun 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744182006a2594111.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论