Spaces:
Build error
Build error
Update src/index.js
Browse files- src/index.js +7 -14
src/index.js
CHANGED
|
@@ -1,17 +1,10 @@
|
|
| 1 |
-
import React from 'react'
|
| 2 |
-
import ReactDOM from 'react-dom/client'
|
| 3 |
-
import './
|
| 4 |
-
import
|
| 5 |
-
import reportWebVitals from './reportWebVitals';
|
| 6 |
|
| 7 |
-
|
| 8 |
-
root.render(
|
| 9 |
<React.StrictMode>
|
| 10 |
<App />
|
| 11 |
-
</React.StrictMode
|
| 12 |
-
)
|
| 13 |
-
|
| 14 |
-
// If you want to start measuring performance in your app, pass a function
|
| 15 |
-
// to log results (for example: reportWebVitals(console.log))
|
| 16 |
-
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
|
| 17 |
-
reportWebVitals();
|
|
|
|
| 1 |
+
import React from 'react'
|
| 2 |
+
import ReactDOM from 'react-dom/client'
|
| 3 |
+
import App from './App.jsx'
|
| 4 |
+
import './index.css'
|
|
|
|
| 5 |
|
| 6 |
+
ReactDOM.createRoot(document.getElementById('root')).render(
|
|
|
|
| 7 |
<React.StrictMode>
|
| 8 |
<App />
|
| 9 |
+
</React.StrictMode>,
|
| 10 |
+
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|