Revert "refactor(ui): ♻️ use new createRoot"

This reverts commit a1f5cfe04f.
This commit is contained in:
Collin M. Barrett 2022-04-23 12:06:00 -05:00
parent 34857e6237
commit 77c53b0b3f

View file

@ -1,16 +1,14 @@
import React from "react";
import ReactDOM from "react-dom/client";
import "./index.css";
import ReactDOM from "react-dom";
import { App } from "./App";
import "./index.css";
import reportWebVitals from "./reportWebVitals";
const root = ReactDOM.createRoot(
document.getElementById("root") as HTMLElement
);
root.render(
ReactDOM.render(
<React.StrictMode>
<App />
</React.StrictMode>
</React.StrictMode>,
document.getElementById("root")
);
// If you want to start measuring performance in your app, pass a function