Adithya Rajendran
Results
2
comments of
Adithya Rajendran
Hi! To fix this issue add this to your lib/hooks.ts file ```typescript import { useActiveSectionContext } from "@/context/active-section-context"; import { useEffect } from "react"; import { useInView } from "react-intersection-observer";...
> ```ts > const [isVisible, setIsVisible] = React.useState(false); > > React.useEffect(() => { > if (inView) { > setIsVisible(true); > } > }, [inView]); > ``` Did you add section...