Hi, Iām getting
TypeError: Moralis.User.logout is not a function
Whenever I click my logout button. Code below.
async function logoutAccount() {
console.log("Logging out");
await Moralis.User.logout();
}
I followed this snippet in one of the tutorials like this https://docs.moralis.io/guides/build-a-simple-dap-in-3-mins-login-part-2
Hoping someone can point me in the right direction.