import { StrictMode } from "react"; import { createRoot } from "react-dom/client"; import "./index.css"; import App from "./App.tsx"; import { APP_VERSION } from "./version"; // Not shown in the UI; open the browser console to confirm which build is being served // (the stale-deploy diagnostic the old sidebar badge used to provide). console.info(`Ten31 Portal v${APP_VERSION}`); createRoot(document.getElementById("root")!).render( ); if ("serviceWorker" in navigator) { window.addEventListener("load", () => { navigator.serviceWorker.register("/sw.js").catch(() => {}); }); }