rainbowkit
rainbowkit copied to clipboard
feat: optimistic disconnect
Changes
- Added optimistic disconnect behavior by checking
isDisconnecting
inRainbowKitWagmiStateProvider
. IfisDisconnecting
istrue
, theuseConnectionStatus
hook is set to thedisconnected
state.
Screen recordings / screenshots
https://github.com/rainbow-me/rainbowkit/assets/53529533/38cbff5e-465a-41d2-b924-e613abca32fd