Signal drop!
Relay (operand.online) is unreachable.
Usually, a dropped signal means an upgrade is happening. Hold on!
Sorry, no connección.
Hang in there while we get back on track
gram: luck
> ./src/embedded-main.tsx
Lenses
(coming soon!)
import React from 'react'
import ReactDOM from "react-dom/client";
import * as Tooltip from "@radix-ui/react-tooltip";
import * as Toast from "@radix-ui/react-toast";
import {EmbeddedDocument} from "./EmbeddedDocument";
const params = new URLSearchParams(location.search)
const documentUrl = params.get('document')
if (documentUrl) {
ReactDOM.createRoot(document.getElementById("root")!).render(
<React.StrictMode>
<Tooltip.Provider>
<Toast.Provider>
<EmbeddedDocument url={documentUrl}/>
</Toast.Provider>
</Tooltip.Provider>
</React.StrictMode>
);
window.top?.postMessage({ type: "demoLoaded", name: documentUrl})
}