Files
juip-web/src/main.tsx

13 lines
326 B
TypeScript
Raw Normal View History

2026-07-24 18:00:22 +08:00
import { StrictMode } from "react"
import { createRoot } from "react-dom/client"
import "./index.css"
import App from "./App.tsx"
const rootElement = document.getElementById("root")
if (!rootElement) throw new Error("Failed to find root element")
createRoot(rootElement).render(
<StrictMode>
<App />
</StrictMode>,
)