diff --git a/src/index.js b/src/index.js index b1ef1c0..269306a 100644 --- a/src/index.js +++ b/src/index.js @@ -1,10 +1,11 @@ import React from "react"; -import ReactDOM from "react-dom"; +//import ReactDOM from "react-dom"; +import { createRoot } from 'react-dom/client' import App from "./App"; -ReactDOM.render( +const root = createRoot(document.getElementById("root")) +root.render( - , - document.getElementById("root") + );