upgrade to react18

This commit is contained in:
Proddy
2022-05-22 13:57:17 +02:00
parent e8387b363f
commit 22668d76ee
13 changed files with 2491 additions and 1725 deletions

View File

@@ -4,6 +4,8 @@ import { CssBaseline } from '@mui/material';
import { createTheme, responsiveFontSizes, ThemeProvider } from '@mui/material/styles';
import { blueGrey, blue } from '@mui/material/colors';
import { RequiredChildrenProps } from './utils';
const theme = responsiveFontSizes(
createTheme({
typography: {
@@ -21,7 +23,7 @@ const theme = responsiveFontSizes(
})
);
const CustomTheme: FC = ({ children }) => (
const CustomTheme: FC<RequiredChildrenProps> = ({ children }) => (
<ThemeProvider theme={theme}>
<CssBaseline />
{children}