Skip to content

Commit

Permalink
[CastIt.Server.ClientApp] Warning fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolfteam committed Mar 17, 2024
1 parent ac9920b commit df22978
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions CastIt.Server/ClientApp/src/app.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { createTheme, ThemeProvider, Theme, StyledEngineProvider } from '@mui/material';
import { adaptV4Theme } from '@mui/material/styles';
import { green, purple } from '@mui/material/colors';
import CssBaseline from '@mui/material/CssBaseline';
import { BrowserRouter } from 'react-router-dom';
Expand All @@ -19,8 +18,7 @@ declare module '@mui/styles/defaultTheme' {
interface DefaultTheme extends Theme {}
}


const theme = createTheme(adaptV4Theme({
const theme = createTheme({
palette: {
mode: 'dark',
primary: {
Expand All @@ -30,7 +28,7 @@ const theme = createTheme(adaptV4Theme({
main: green[500],
},
},
}));
});

function App() {
return (
Expand Down

0 comments on commit df22978

Please sign in to comment.