Error with providers: useMoralisDapp must be used within a MoralisDappProvider

I’m following this tutorial: https://www.youtube.com/watch?v=WZWCzsB1xUE

When I try to import and use MoralisDappProvider I got this error:
Error: useMoralisDapp must be used within a MoralisDappProvider

3 Likes

Same problem here , i can’t figure out where the problem come from

I am getting the same error as well, can’t figure out how to solve this.

Hey @labarinth @Davila7 @ninjadesbois

Make sure you have provided your serverUrl and appId correctly