20 lines
369 B
JavaScript
20 lines
369 B
JavaScript
import MainPage from './pages/MainPage';
|
|
import { createTheme, ThemeProvider } from '@mui/material/styles';
|
|
|
|
function App() {
|
|
const darkTheme = createTheme({
|
|
palette: {
|
|
mode: 'dark',
|
|
},
|
|
});
|
|
|
|
return (
|
|
<div className="App">
|
|
<ThemeProvider theme={darkTheme}>
|
|
<MainPage />
|
|
</ThemeProvider>
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export default App;
|