File size: 391 Bytes
0842d68 1663a0e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import "./index.css";
import App from "./App.tsx";
createRoot(document.getElementById("root")!).render(
<StrictMode>
<App />
</StrictMode>
);
window.addEventListener("hashchange", () =>
window.parent.postMessage(
{
hash: window.location.hash,
},
"https://huggingface.co"
)
);
|