diff --git a/src/index.js b/src/index.js index 74d1cbe..3e54057 100644 --- a/src/index.js +++ b/src/index.js @@ -1,7 +1,14 @@ import './index.css'; +import { StrictMode } from "react"; +import { createRoot } from "react-dom/client"; -import React from 'react'; -import ReactDOM from 'react-dom'; -import App from './App'; +import App from "./App"; -ReactDOM.render(, document.getElementById('root')); +const rootElement = document.getElementById("root"); +const root = createRoot(rootElement); + +root.render( + + + +);