aah/client/index.ts

7 lines
166 B
TypeScript
Raw Normal View History

2023-08-07 07:43:50 +00:00
import { createRoot } from "react-dom/client";
import App from "./App";
const el = document.getElementById("app")!;
const root = createRoot(el);
root.render(App());