In my app Im using react-moralis and I want to filter the mobile links but it says that the mobileLinks key doesnt exist. I am using react-moralis Version 0.3.1 and Moralis version 0.0.152 My code is as follows
const { authenticate, enableWeb3 } = useMoralis();
async function login(title:String) {
authenticate({
onSuccess: () => {
enableWeb3({ provider: "walletconnect" });
},
onError: (erorr) => alert(erorr),
provider: "walletconnect",
signingMessage:"Custom Message",
mobileLinks: [
"metamask", // 'mobileLinks' does not exist in type 'AuthenticateOptions'
]
});
}
I even tried using the Moralis.authenticate via useMoralis but still its the same issue. Is there a work around for this.