Spaces:
Running on Zero
Running on Zero
| import React from "react"; | |
| import { createRoot } from "react-dom/client"; | |
| import App from "./App.jsx"; | |
| import { installExitClear } from "./client.js"; | |
| // On the hosted Space, best-effort wipe this browser's uploaded sessions on tab-close | |
| // (the 24h server sweeper is the hard guarantee). No-op effect for the local product. | |
| installExitClear(); | |
| createRoot(document.getElementById("root")).render( | |
| <React.StrictMode> | |
| <App /> | |
| </React.StrictMode> | |
| ); | |