web3-react icon indicating copy to clipboard operation
web3-react copied to clipboard

Wallet Connect QR code doesn't open. walletConnect?.activate(chainId) gives undefined response.

Open HaiderNimra opened this issue 2 years ago • 0 comments

I am tring to connect it with a custom testnet chainID. In start it worked fine QR code opened and I connected my app. but now QR code opens 1/50 times and gives response undefined. Can someone please tell me What's wrong.

const WalletConnect = async () => { await walletConnectV2 ?.activate(1338) .then((res) => { console.log("Response:::", res); }) .catch((err) => { console.log("Error", err); }); };

Response::: Undefined

HaiderNimra avatar Aug 03 '23 06:08 HaiderNimra