You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
835 B
2 lines
835 B
import{j as t}from"./markdown-vendor-DnN-_XEd.js";import{t as d}from"./index-BKk2Zt4l.js";import{r as a}from"./data-vendor-DOiUz3Tw.js";import{f as m,g}from"./react-vendor-B8OyfHW2.js";import"./arco-vendor-Cm-ntj-q.js";function _(){const[i,s]=a.useState(void 0),[o,r]=a.useState(void 0),{id:n}=m(),[c]=g(),e=n??c.get("id")??void 0;return a.useEffect(()=>{e&&(s(void 0),d({id:e}).then(l=>{s(l.data?.content),r(l.data?.title)}))},[e]),t.jsx("div",{className:"legal-page",children:t.jsxs("section",{className:"legal-page__section",id:e,"aria-labelledby":"legal-doc-title",children:[t.jsx("h1",{className:"legal-page__title",id:"legal-doc-title",children:o}),t.jsx("div",{className:"legal-page__content",children:t.jsx("div",{dangerouslySetInnerHTML:{__html:i??""}})})]})})}export{_ as default};
|
|
//# sourceMappingURL=index-BQVtw4fd.js.map
|
|
|