1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-21 07:01:19 -04:00

bump next

This commit is contained in:
2022-11-12 09:05:43 -05:00
parent f51d48f622
commit 5c5985445b
4 changed files with 457 additions and 503 deletions

View File

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