pegasus/frontend/src/main.tsx

17 lines
346 B
TypeScript
Raw Normal View History

2025-09-16 00:05:16 -05:00
// frontend/src/main.tsx
2025-09-08 00:48:47 -05:00
import React from 'react'
import { createRoot } from 'react-dom/client'
import App from './App'
2025-09-16 23:06:40 -05:00
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>
)