This commit is contained in:
lloydzhou 2024-07-23 17:57:41 +08:00
parent 2e9e20ce7c
commit 1ecefd88f7
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ export function Mermaid(props: { code: string }) {
}
export function HTMLPreview(props: { code: string }) {
const ref = useRef<HTMLDivElement>(null);
const ref = useRef<HTMLIFrameElement>(null);
const frameId = useRef<string>(nanoid());
const [height, setHeight] = useState(600);
/*