Hello,
I am trying to import the Moralis SDK into a react vite app by following the steps here.
https://docs.moralis.io/moralis-dapp/connect-the-sdk/connect-with-react
However, after I have finished with the imports, all of my UI disappears and I cannot see anything.
Here is my import code. I have npm installed the SDK already.
import React from 'react'
import ReactDOM from 'react-dom/client'
import App from './App'
import {ChakraProvider} from '@chakra-ui/react'
import {MoralisProvider} from 'react-moralis'
ReactDOM.createRoot(document.getElementById('root')).render(
<React.StrictMode>
<MoralisProvider appId='MY_APP_ID' serverUrl='MY-SERVER-URL'>
<ChakraProvider>
<App />
</ChakraProvider>
</MoralisProvider>
</React.StrictMode>
)
Do you know what happens to be wrong with this?
Thanks in advance.