iâve a big problem guys!! One day i woke up and my site doesenât work, and it sayed this problem:
TypeError: Right-hand side of âinstanceofâ is not callable.
This is app.js:
import { MoralisProvider } from âreact-moralisâ;
import ââŚ/styles/globals.cssâ;
import â./style.cssâ;
function MyApp({ Component, pageProps }) {
return (
<MoralisProvider
appId={process.env.NEXT_PUBLIC_APP_ID}
serverUrl={process.env.NEXT_PUBLIC_SERVER_URL}
>
<div className="bg">
<Component {...pageProps} />
</div>
</MoralisProvider>
);
}
export default MyApp;
and this is the env.local:
NEXT_PUBLIC_APP_ID=âŚ
NEXT_PUBLIC_SERVER_URL=âŚ
I donât know the reason of this probem, really i try evrything but it still doensât work!! Please help me !!