We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d63ae2d commit b5182adCopy full SHA for b5182ad
app/[docs_id]/pageContent.tsx
@@ -59,7 +59,6 @@ export function PageContent(props: PageContentProps) {
59
for (let i = 0; i < sectionRefs.current.length; i++) {
60
if (sectionRefs.current.at(i) && dynMdContent.at(i)) {
61
const rect = sectionRefs.current.at(i)!.getBoundingClientRect();
62
- console.log(i, rect);
63
dynMdContent.at(i)!.inView =
64
rect.top < window.innerHeight * 0.9 &&
65
rect.bottom >= window.innerHeight * 0.1;
0 commit comments