web3modal
web3modal copied to clipboard
[bug] `useAccount` from `wagmi` returns `isConnecting` status on cancelled WalletConnect attempt
Link to minimal reproducible example
https://stackblitz.com/edit/github-lgoek2bk?file=src%2Fcomponents%2FIsAccountConnecting.tsx,src%2FApp.tsx
Summary
Steps to reproduce:
- Open
AppKitmodal - Press WalletConnect button
- Once QR popup appear, cancel modal
isConnectingstatus fromwagmi'suseAccountistrue
List of related npm package versions
"@reown/appkit": "1.7.4",
"@reown/appkit-adapter-wagmi": "1.7.4",
"@tanstack/react-query": "^5.56.2",
"viem": "^2.23.6",
"wagmi": "^2.14.12"
Node.js Version
v20.19.1
Package Manager
Hi @nikitayutanov
I hope you are doing great.
We really recommend to use AppKit hooks to collect information.
Can you confirm that AppKit hooks with our latest version are working ok ?