pegasus/frontend/src/main.tsx
2025-09-16 23:06:40 -05:00

17 lines
346 B
TypeScript

// frontend/src/main.tsx
import React from 'react'
import { createRoot } from 'react-dom/client'
import App from './App'
import './styles.css'
const el = document.getElementById('root')
if (!el) {
throw new Error('Missing <div id="root"></div> in index.html')
}
createRoot(el).render(
<React.StrictMode>
<App />
</React.StrictMode>
)