import{useEffect as e}from"react";import{r as t}from"../../node_modules/react-dom/index.js";const o=({children:o})=>{const r=document.getElementById("portal-root"),d=document.createElement("div");return e((()=>(r?.appendChild(d),()=>{r?.removeChild(d)})),[d,r]),t.createPortal(o,d)};export{o as default};
//# sourceMappingURL=CortexPortal.js.map
