diff --git a/src/components/giscus.tsx b/src/components/giscus.tsx index 02aa33e1..9f87758f 100644 --- a/src/components/giscus.tsx +++ b/src/components/giscus.tsx @@ -130,7 +130,7 @@ const GiscusComments: React.FC = ({ "iframe.giscus-frame", ); - if (!iframe) { + if (!iframe || !iframe.contentWindow) { return; }