use new giscus options

This commit is contained in:
jake committed 2022-11-07 08:38:02 -05:00
1 parent 775b5efef4
commit f51d48f622
4 files changed
+139 -121

No files matched your search

+1 -5
View File
@@ -58,11 +58,7 @@ const Note = ({ frontMatter, source }: InferGetStaticPropsType<typeof getStaticP
{!frontMatter.noComments && (
<InView rootMargin="140px" triggerOnce fallbackInView>
{({ inView, ref }) => (
<div id="comments" ref={ref}>
{inView && <Comments title={frontMatter.title} />}
</div>
)}
{({ inView, ref }) => <div ref={ref}>{inView && <Comments title={frontMatter.title} />}</div>}
</InView>
)}
</>