13 lines
292 B
TypeScript
13 lines
292 B
TypeScript
import { StrictMode } from "react";
|
|
import { createRoot } from "react-dom/client";
|
|
import { App } from "./app/App";
|
|
|
|
const root = document.getElementById("root");
|
|
if (!root) throw new Error("Missing application root");
|
|
|
|
createRoot(root).render(
|
|
<StrictMode>
|
|
<App />
|
|
</StrictMode>,
|
|
);
|