♻️ refactor(App): make explicit root element

This commit is contained in:
2024-01-22 18:45:02 +01:00
parent 8f26820a27
commit b19148ad8f
+2 -1
View File
@@ -7,7 +7,8 @@ import App from './App.tsx'
import theme from 'style/theme.ts'
import './index.css'
ReactDOM.createRoot(document.getElementById('root')!).render(
const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement)
root.render(
<React.StrictMode>
<ThemeProvider theme={theme}>
<CssBaseline />