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:
@@ -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>
|
||||
)}
|
||||
</>
|
||||
|
Reference in New Issue
Block a user