diff --git a/app/components/markdown.tsx b/app/components/markdown.tsx index e870be877..989e2889b 100644 --- a/app/components/markdown.tsx +++ b/app/components/markdown.tsx @@ -77,7 +77,7 @@ export function HTMLPreview(props: { code: string }) { frameBorder={0} sandbox="allow-scripts" style={{ width: "100%", height: 400 }} - srcdoc={props.code} + srcDoc={props.code} > );