15 lines
327 B
TypeScript
15 lines
327 B
TypeScript
import { StrictMode } from "react";
|
|
import { createRoot } from "react-dom/client";
|
|
import "./styles.css";
|
|
import App from "./App.tsx";
|
|
|
|
const root = document.getElementById("root");
|
|
if (!root) {
|
|
throw new Error("The application root was not found.");
|
|
}
|
|
createRoot(root).render(
|
|
<StrictMode>
|
|
<App />
|
|
</StrictMode>,
|
|
);
|