import React from 'react' ; import ReactDOM from 'react-dom' ; import { Root } from 'ra-no-code' ; import { defaultTheme } from 'react-admin' ; import { unstable_createMuiStrictModeTheme , createTheme , } from '@material-ui/core/styles' ; const theme = process . env . NODE_ENV !== 'production' ? unstable_createMuiStrictModeTheme ( defaultTheme ) : createTheme ( defaultTheme ) ; ReactDOM . render ( < React . StrictMode > < Root theme = { theme } / > < /React.StrictMode>, document.getElementById('root'));