Babken Mesropyan
Babken Mesropyan
The problem is in disconnecting the wallet. it becomes obvious after debugging [`packages/rainbowkit/src/components/ConnectOptions/DesktopOptions.tsx`](https://github.com/rainbow-me/rainbowkit/blob/d81935cd1f736ab701c686ed105b38b13a6956f5/packages/rainbowkit/src/components/ConnectOptions/DesktopOptions.tsx#L114) ``` const connectToWallet = (wallet: WalletConnector) => { setConnectionError(false); if (wallet.ready) { wallet?.connect?.()?.catch(() => { setConnectionError(true); });...
In case you need more context on the issue, please don't hesitate to let me know. You can debug [`packages/core/src/actions/connect.ts`](https://github.com/wevm/wagmi/blob/72fd3a4246580972ae88ba4f67bf3664e6111c32/packages/core/src/actions/connect.ts#L51) and in case of disconnecting directly from connecter `config.state.current` becomes...