We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e9e20c commit 1ecefd8Copy full SHA for 1ecefd8
1 file changed
app/components/markdown.tsx
@@ -62,7 +62,7 @@ export function Mermaid(props: { code: string }) {
62
}
63
64
export function HTMLPreview(props: { code: string }) {
65
- const ref = useRef<HTMLDivElement>(null);
+ const ref = useRef<HTMLIFrameElement>(null);
66
const frameId = useRef<string>(nanoid());
67
const [height, setHeight] = useState(600);
68
/*
0 commit comments