Use codemod preset-safe
This commit is contained in:
+4
-4
@@ -1,7 +1,7 @@
|
||||
import {createMuiTheme} from '@material-ui/core/styles'
|
||||
import {red} from '@material-ui/core/colors'
|
||||
import {createTheme, adaptV4Theme} from '@mui/material/styles'
|
||||
import {red} from '@mui/material/colors'
|
||||
|
||||
const theme = createMuiTheme({
|
||||
const theme = createTheme(adaptV4Theme({
|
||||
palette: {
|
||||
primary: {
|
||||
main: '#556cd6'
|
||||
@@ -16,6 +16,6 @@ const theme = createMuiTheme({
|
||||
default: '#fff'
|
||||
}
|
||||
}
|
||||
})
|
||||
}))
|
||||
|
||||
export default theme
|
||||
|
||||
Reference in New Issue
Block a user