Files
idlegame/src/main.tsx
T

16 lines
323 B
TypeScript

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