diff --git a/client/src/index.js b/client/src/index.js index f79e56a7..9c2fd7d7 100644 --- a/client/src/index.js +++ b/client/src/index.js @@ -1,6 +1,8 @@ import React from 'react'; -import ReactDOM from 'react-dom'; +import { createRoot } from 'react-dom'; + import App from './App'; -ReactDOM.render(<App />, document.getElementById('root')); \ No newline at end of file +createRoot(document.getElementById('root')).render(<App />); +