Hi Guys,
I am new to Web3/ Moralis and in this group. I was wondering if anyone can please help me with something.
I am trying to integrate moralis with nextjs. Below is my code but I keep getting error. ReactMoralisError: Provide a âappIdâ provided to
I have researched on Stackoverflow and google, tried various suggestions but couldnât figure out. I would appreicate if someone can kindly guide me. Thanks a ton in advance.
import '../styles/globals.css'
import { MoralisProvider } from 'react-moralis'
import type { AppProps } from 'next/app'
function MyApp({ Component, pageProps }: AppProps) {
return (
<MoralisProvider
appId={process.env.REACT_APP_MORALIS_APPLICATION_ID}
serverUrl={process.env.REACT_APP_MORALIS_SERVER_URL}
>
<Component {...pageProps} />
</MoralisProvider>
)
}
export default MyApp