19 lines
502 B
TypeScript
19 lines
502 B
TypeScript
import React from 'react'
|
|
import ReactDOM from 'react-dom/client'
|
|
import { CssBaseline, ThemeProvider } from '@mui/material'
|
|
import { BrowserRouter } from 'react-router-dom'
|
|
import App from './App.tsx'
|
|
import { theme } from './theme'
|
|
import './index.css'
|
|
|
|
ReactDOM.createRoot(document.getElementById('root')!).render(
|
|
<React.StrictMode>
|
|
<ThemeProvider theme={theme}>
|
|
<CssBaseline />
|
|
<BrowserRouter>
|
|
<App />
|
|
</BrowserRouter>
|
|
</ThemeProvider>
|
|
</React.StrictMode>,
|
|
)
|