rainbowkit icon indicating copy to clipboard operation
rainbowkit copied to clipboard

How to handle changes in the isConnected state.

Open lianshao123 opened this issue 6 months ago • 4 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

RainbowKit Version

2.1.3

wagmi Version

2.10.10

Current Behavior

When the wallet is already connected and the page refreshes, the isConnected state in wagmi will change from false to true, which can lead to issues in my application.

Expected Behavior

I want to correctly obtain the current wallet connection status without experiencing multiple changes.

Steps To Reproduce

No response

Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)

No response

Anything else?

No response

lianshao123 avatar Aug 21 '24 08:08 lianshao123