web3modal icon indicating copy to clipboard operation
web3modal copied to clipboard

[bug] `useAccount` from `wagmi` returns `isConnecting` status on cancelled WalletConnect attempt

Open nikitayutanov opened this issue 8 months ago • 1 comments

Link to minimal reproducible example

https://stackblitz.com/edit/github-lgoek2bk?file=src%2Fcomponents%2FIsAccountConnecting.tsx,src%2FApp.tsx

Summary

Steps to reproduce:

  1. Open AppKit modal
  2. Press WalletConnect button
  3. Once QR popup appear, cancel modal
  4. isConnecting status from wagmi's useAccount is true

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

[email protected]

nikitayutanov avatar May 05 '25 23:05 nikitayutanov

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 ?

rtomas avatar Jun 20 '25 02:06 rtomas