mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-05-19 20:20:16 +09:00
hotfix
This commit is contained in:
parent
2e9e20ce7c
commit
1ecefd88f7
@ -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);
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user