Rewrite in TS
This commit is contained in:
parent
8c1f6a82e2
commit
bfcf26e425
19 changed files with 3229 additions and 632 deletions
10
frontend/src/index.tsx
Normal file
10
frontend/src/index.tsx
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
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 />);
|
||||
Loading…
Add table
Add a link
Reference in a new issue