mirror of
https://github.com/R0m1k3/noteflow.git
synced 2026-10-12 01:39:47 +02:00
8 lines
231 B
TypeScript
8 lines
231 B
TypeScript
import { createRoot } from "react-dom/client";
|
|
import App from "./App";
|
|
import "./globals.css";
|
|
|
|
const root = document.getElementById("root");
|
|
if (!root) throw new Error("Root element not found");
|
|
|
|
createRoot(root).render(<App />); |