mirror of
https://github.com/allaunthefox/Research-Stack.git
synced 2026-08-10 20:50:34 +00:00
12 lines
273 B
TypeScript
12 lines
273 B
TypeScript
import { StrictMode } from 'react'
|
|
import { createRoot } from 'react-dom/client'
|
|
import { App } from './App'
|
|
|
|
const root = document.getElementById('root')
|
|
if (!root) throw new Error('#root not found')
|
|
|
|
createRoot(root).render(
|
|
<StrictMode>
|
|
<App />
|
|
</StrictMode>,
|
|
)
|