Skip to content

Commit 1ecefd8

Browse files
committed
hotfix
1 parent 2e9e20c commit 1ecefd8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/components/markdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export function Mermaid(props: { code: string }) {
6262
}
6363

6464
export function HTMLPreview(props: { code: string }) {
65-
const ref = useRef<HTMLDivElement>(null);
65+
const ref = useRef<HTMLIFrameElement>(null);
6666
const frameId = useRef<string>(nanoid());
6767
const [height, setHeight] = useState(600);
6868
/*

0 commit comments

Comments
 (0)