-
-
Save Daltonic/9f9af78c902b98c9cd1f0f075cba4fb9 to your computer and use it in GitHub Desktop.
Dapp Cinemas
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import ReactDOM from 'react-dom/client' | |
import { BrowserRouter } from 'react-router-dom' | |
import './index.css' | |
import 'react-toastify/dist/ReactToastify.css' | |
import App from './App' | |
import { initCometChat } from './services/chat' | |
const root = ReactDOM.createRoot(document.getElementById('root')) | |
initCometChat().then(() => { | |
root.render( | |
<React.StrictMode> | |
<BrowserRouter> | |
<App /> | |
</BrowserRouter> | |
</React.StrictMode> | |
) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment