Skip to content

Commit 11f13e6

Browse files
committed
removed deprecated Material UI theme
1 parent 8462814 commit 11f13e6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

app/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22
// import { adaptV4Theme } from '@mui/styles';
3-
import { createTheme, adaptV4Theme } from '@mui/material/styles'
3+
import { createTheme } from '@mui/material/styles'
44
import ReactDOM from 'react-dom';
55

66
// REACT 18 Syntax below
@@ -12,12 +12,12 @@ import App from './App';
1212
import WindowBar from './components/WindowBar/WindowBar';
1313

1414

15-
const theme = createTheme(adaptV4Theme({
15+
const theme = createTheme({
1616
// v4 theme
1717
typography: {
1818
fontFamily: ['Roboto', 'sans-serif'].join(','),
1919
},
20-
}));
20+
});
2121

2222
// React 17 Syntax below
2323
ReactDOM.render(

0 commit comments

Comments
 (0)