7 lines
207 B
React
7 lines
207 B
React
import { createRoot } from "react-dom/client";
|
|
import Admin from "./admin.jsx";
|
|
|
|
const props = window.__INITIAL_PROPS__ || {};
|
|
|
|
createRoot(document.getElementById("reactRoot")).render(<Admin {...props} />);
|