From 3772cd6edd51009c29e90ba9d2e551df92e50053 Mon Sep 17 00:00:00 2001 From: ljpark Date: Tue, 3 Mar 2026 11:39:24 +0900 Subject: [PATCH] =?UTF-8?q?dm=5Fdev:=20=EC=A3=BC=EC=84=9D=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/dm_new/app/(landing)/reuse/_hooks/useScrollSpy.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/dm_new/app/(landing)/reuse/_hooks/useScrollSpy.ts b/apps/dm_new/app/(landing)/reuse/_hooks/useScrollSpy.ts index 8274f277d..821e7e166 100644 --- a/apps/dm_new/app/(landing)/reuse/_hooks/useScrollSpy.ts +++ b/apps/dm_new/app/(landing)/reuse/_hooks/useScrollSpy.ts @@ -1,3 +1,6 @@ +/** + * IntersectionObserver로 각 section의 화면 노출 비율을 계산해서 가장 많이 보이는 section을 activeId로 만든다 + */ "use client"; import { useEffect, useRef, useState } from "react";