diff --git a/src/index.js b/src/index.js index 02505c0..6ed5681 100644 --- a/src/index.js +++ b/src/index.js @@ -1,9 +1,11 @@ -import React from 'react'; -import ReactDOM from 'react-dom'; -import './styles/index.css'; -import App from './App'; +import React from "react"; +import ReactDOM from "react-dom/client"; +import "./styles/index.css"; +import App from "./App"; -ReactDOM.render( - , - document.getElementById('root') -); +const root = ReactDOM.createRoot(document.getElementById("root")); +root.render( + + + +); \ No newline at end of file