| 1 | import { StrictMode } from "react"; |
| 2 | import { createRoot } from "react-dom/client"; |
| 3 | import { App } from "./App.tsx"; |
| 4 | import "./index.css"; |
| 5 | |
| 6 | const root = document.getElementById("root"); |
| 7 | if (root === null) { |
| 8 | throw new Error("Missing #root"); |
| 9 | } |
| 10 | |
| 11 | createRoot(root).render( |
| 12 | <StrictMode> |
| 13 | <App platform="Hetzner" /> |
| 14 | </StrictMode>, |
| 15 | ); |