From 21c2d8f41066451a1e1492d23983040bf8b92443 Mon Sep 17 00:00:00 2001 From: lkatsikaris Date: Tue, 16 Apr 2024 14:55:48 -0300 Subject: [PATCH] ff --- src/index.jsx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/index.jsx b/src/index.jsx index 8a0367d..30554f3 100644 --- a/src/index.jsx +++ b/src/index.jsx @@ -1,5 +1,5 @@ import React from "react"; -import ReactDOM from "react-dom/client"; +import ReactDOM from 'react-dom'; import 'core-js/stable'; import 'regenerator-runtime/runtime'; @@ -7,7 +7,6 @@ import { APP_INIT_ERROR, APP_READY, subscribe, initialize, } from '@edx/frontend-platform'; import { AppProvider, ErrorPage } from '@edx/frontend-platform/react'; -import ReactDOM from 'react-dom'; import Header from '@edx/frontend-component-header'; import Footer from '@edx/frontend-component-footer'; @@ -17,16 +16,14 @@ import ExamplePage from './example/ExamplePage'; import './index.scss'; subscribe(APP_READY, () => { - const root = ReactDOM.createRoot(document.getElementById("root")); - root.render( + ReactDOM.render(