Spaces:
Paused
Paused
Create frontend/src/index.tsx
Browse files- frontend/src/index.tsx +13 -0
frontend/src/index.tsx
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import React from 'react';
|
| 2 |
+
import ReactDOM from 'react-dom/client';
|
| 3 |
+
import './index.css';
|
| 4 |
+
import App from './App';
|
| 5 |
+
|
| 6 |
+
const root = ReactDOM.createRoot(
|
| 7 |
+
document.getElementById('root') as HTMLElement
|
| 8 |
+
);
|
| 9 |
+
root.render(
|
| 10 |
+
<React.StrictMode>
|
| 11 |
+
<App />
|
| 12 |
+
</React.StrictMode>
|
| 13 |
+
);
|