Spaces:
Build error
Build error
Create index.js
Browse files- frontend/src/index.js +6 -0
frontend/src/index.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import React from 'react';
|
| 2 |
+
import ReactDOM from 'react-dom/client';
|
| 3 |
+
import App from './App';
|
| 4 |
+
|
| 5 |
+
const root = ReactDOM.createRoot(document.getElementById('root'));
|
| 6 |
+
root.render(<App />);
|