mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-10-24 02:16:22 -04:00
use new giscus options
This commit is contained in:
4 files changed
+139
-121
No files matched your search
@@ -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>
|
||||
)}
|
||||
</>
|
||||
|
||||
Reference in new issue
Block a user