import { AbstractConnector } from "@web3-react/abstract-connector" ; import { WalletConnectConnector } from "@web3-react/walletconnect-connector" ; export const resetWalletConnectState = ( connector ) => { if ( connector instanceof WalletConnectConnector && connector . walletConnectProvider ?. wc ?. uri ) { connector . walletConnectProvider = undefined ; } } ;