right-tree/frontend/src/App.js

21 lines
369 B
JavaScript
Raw Normal View History

import MainPage from './pages/MainPage';
2021-10-07 15:39:12 +13:00
import { createTheme, ThemeProvider } from '@mui/material/styles';
function App() {
2021-10-07 15:39:12 +13:00
const darkTheme = createTheme({
palette: {
mode: 'dark',
},
});
return (
<div className="App">
2021-10-07 15:39:12 +13:00
<ThemeProvider theme={darkTheme}>
<MainPage />
2021-10-07 15:39:12 +13:00
</ThemeProvider>
</div>
);
}
export default App;