import { createRoot } from "react-dom/client";
import App from "./App.tsx";
import "./index.css";
import { clearStaleBlobUrls } from "./lib/project/media-rehydrator";

// On a fresh page load, wipe stale blob: URLs that died with the old session.
// Assets with storagePath will be rehydrated from disk when the project loads.
clearStaleBlobUrls();

createRoot(document.getElementById("root")!).render(<App />);
