Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
mnsinri committed Nov 10, 2024
2 parents 6db021b + 243e9eb commit decd0d5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/inViewContainer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ export const InViewContainer = <T,>({
const [renderDataIdx, setRenderDataIdx] = useState<number>(1);
const ref = useRef<HTMLDivElement>(null!);

useEffect(() => {
console.log("renderDataIdx", renderDataIdx);
}, [renderDataIdx]);

useEffect(() => {
const observer = new IntersectionObserver(([entry]) => {
if (!entry.isIntersecting) return;
Expand Down

0 comments on commit decd0d5

Please sign in to comment.