17 lines
340 B
TypeScript
17 lines
340 B
TypeScript
import { StrictMode } from "react";
|
|
import { createRoot } from "react-dom/client";
|
|
|
|
import { App } from "./App";
|
|
import "./styles.css";
|
|
|
|
const root = document.getElementById("root");
|
|
if (root === null) {
|
|
throw new Error("Browser replay root element is missing");
|
|
}
|
|
|
|
createRoot(root).render(
|
|
<StrictMode>
|
|
<App />
|
|
</StrictMode>,
|
|
);
|