perfect-postcode/frontend/src/index.tsx
2026-01-25 21:54:22 +00:00

10 lines
269 B
TypeScript

import { createRoot } from 'react-dom/client';
import App from './App';
import './index.css';
const container = document.getElementById('root');
if (!container) {
throw new Error('Root element not found');
}
const root = createRoot(container);
root.render(<App />);