Files
piik/src/client/main.tsx
T

16 lines
323 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) {
throw new Error("Application root was not found");
}
createRoot(root).render(
<StrictMode>
<App />
</StrictMode>,
);