New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moralis.onAccountChanged is not a function #46
Comments
Hi can you try changing that to |
Yup, I had the same issue and it was resolved with the suggestion above! Silly typo |
Hi have changed to Moralis.onAccountsChanged in the file at frontend/providers/MoralisDappProvider/MoralisDappProvider.js |
@snehal-delixus Hi can you post on the Moralis forum in this thread: https://forum.moralis.io/t/ethereum-react-native-boilerplate-questions/4511 |
I have cloned the project and done the yarn command successfully in order to load node_modules
Anyway, When I run the project, I met the error below.
TypeError: Moralis.onAccountChanged is not a function. (In 'Moralis.onAccountChanged(function (address) { setWalletAddress(address[0]); })', 'Moralis.onAccountChanged' is undefined)
When I block this code, it can't make connect to wallet successfully.
The environment, I use the default from this boilerplate.
Do you have any suggestions or I miss some part? Please guide me in advance.
Thanks
The text was updated successfully, but these errors were encountered: