/**
 * Production renderer entry.
 * Built to desktop/dist/renderer-next/ and loaded by the main Electron window.
 */
import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import { App } from "./App.js";
// CSS is loaded via index.html <link> (copied by build-desktop); not bundled into JS.

const rootEl = document.getElementById("root");
if (!rootEl) {
  throw new Error("renderer-next: #root missing");
}

createRoot(rootEl).render(
  <StrictMode>
    <App />
  </StrictMode>
);
