import { createTheme as createLegacyModeTheme , unstable_createMuiStrictModeTheme as createStrictModeTheme , } from '@material-ui/core/styles' ; see https export const createMuiTheme = process . env . NODE_ENV === 'production' ? createLegacyModeTheme : createStrictModeTheme ;