mirror of
https://github.com/djdevin/recflare.git
synced 2026-09-09 23:21:30 -07:00
16 lines
298 B
TypeScript
16 lines
298 B
TypeScript
import { StrictMode } from 'react'
|
|
import { createRoot } from 'react-dom/client'
|
|
|
|
import { App } from './App'
|
|
|
|
import './styles.css'
|
|
|
|
const root = document.getElementById('root')
|
|
if (!root) throw new Error('missing #root element')
|
|
|
|
createRoot(root).render(
|
|
<StrictMode>
|
|
<App />
|
|
</StrictMode>
|
|
)
|