Spaces:
Sleeping
Sleeping
File size: 371 Bytes
0e24aff | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | import React from "react";
import ReactDOM from "react-dom/client";
import { App } from "@/App";
import "@/styles/index.css";
const rootElement = document.getElementById("root");
if (!rootElement) {
throw new Error("Root element #root is missing in index.html.");
}
ReactDOM.createRoot(rootElement).render(
<React.StrictMode>
<App />
</React.StrictMode>,
);
|