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";