After authenticate method Moralis.enableWeb3({ provider: ‘walletconnect’, chainId: 56 }) is not working and both methods are showing QR.
async walletConect() {
console.log(user);
if (!user) {
var self = this;
user = await Moralis.authenticate({
provider: 'walletconnect',
chainId: 56,
signingMessage: 'Welcome',
})
.then(function (user) {
console.log(user);
self.triggerConnect(user);
})
.catch(function (error) {
console.log(error);
});
}
await Moralis.enableWeb3({ provider: 'walletconnect', chainId: 56 });
},