You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
@lianshao123 Can you share an example of the behavior you're seeing? I would expect isConnected to only remain false until the wallet is detected and Wagmi updates; this should just take a split second.
Each time the page is refreshed, this situation occurs. My business needs to interact with the backend based on the current connection status. Different operations will be executed depending on whether the isConnected state is false or true.
Is there an existing issue for this?
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
The text was updated successfully, but these errors were encountered: