import React from 'react' ; import ReactDOM from 'react-dom' ; import './index.css' ; import reportWebVitals from './reportWebVitals' ; import { Provider } from "overmind-react" ; import { ThemeProvider } from '@material-ui/core' ; import { createOvermind } from 'overmind' ; import { config } from './Overmind/OvermindHelper' ; import { theme } from "./Others/Theme" ; import App from './App' ; import { GlobalVars } from './Others/GlobalVars' ; const overmind = createOvermind ( config ) ; ReactDOM . render ( < React . StrictMode > < Provider value = { overmind } > < ThemeProvider theme = { theme } > < App /> < /ThemeProvider> < /Provider> < /React.StrictMode>, document.getElementById('root')); reportWebVitals ( ) ; document . title = GlobalVars . myName ;