From 676e8cd5fb4e701e2d337c02d6251ce8e9edace3 Mon Sep 17 00:00:00 2001 From: neungdong Date: Tue, 5 Aug 2025 09:44:16 +0900 Subject: [PATCH 1/3] =?UTF-8?q?chore(HIGH-56):=20=EC=87=BC=EC=B8=A0=20?= =?UTF-8?q?=EC=8A=A4=ED=81=AC=EB=A1=A4=EB=B0=94=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/shorts/ShortsLayout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/shorts/ShortsLayout.tsx b/src/components/shorts/ShortsLayout.tsx index b824168..57fb0ac 100644 --- a/src/components/shorts/ShortsLayout.tsx +++ b/src/components/shorts/ShortsLayout.tsx @@ -47,7 +47,7 @@ export default function ShortsLayout({ return (
Date: Tue, 5 Aug 2025 09:46:44 +0900 Subject: [PATCH 2/3] =?UTF-8?q?chore(HIGH-56):=20=EC=9D=B4=EB=AF=B8?= =?UTF-8?q?=EC=A7=80=20=EB=A1=9C=EB=93=9C=20=ED=83=80=EC=9D=B4=EB=B0=8D=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/common/useLazyIntersectionObserver.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/common/useLazyIntersectionObserver.ts b/src/hooks/common/useLazyIntersectionObserver.ts index 93a9ff6..b1609d8 100644 --- a/src/hooks/common/useLazyIntersectionObserver.ts +++ b/src/hooks/common/useLazyIntersectionObserver.ts @@ -7,7 +7,7 @@ interface UseLazyIntersectionObserverProps { } export const useLazyIntersectionObserver = ({ - threshold = 0.2, + threshold = 0, rootMargin = "50px", triggerOnce = true, }: UseLazyIntersectionObserverProps = {}) => { From cac471ba944b6c5c01dbeb02dfbe9d3b9f271ce5 Mon Sep 17 00:00:00 2001 From: neungdong Date: Tue, 5 Aug 2025 09:49:21 +0900 Subject: [PATCH 3/3] =?UTF-8?q?chore(HIGH-56):=20=EC=98=B5=EC=A0=80?= =?UTF-8?q?=EB=B2=84=20=EC=98=A4=EB=B2=84=EB=9D=BC=EC=9D=B4=EB=94=A9=20?= =?UTF-8?q?=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/common/usePrefetchContentOnView.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/hooks/common/usePrefetchContentOnView.ts b/src/hooks/common/usePrefetchContentOnView.ts index da01384..b309b18 100644 --- a/src/hooks/common/usePrefetchContentOnView.ts +++ b/src/hooks/common/usePrefetchContentOnView.ts @@ -9,11 +9,7 @@ import type { ReviewListResponse } from "@/types/content"; export const usePrefetchContentOnView = (contentId: string) => { const queryClient = useQueryClient(); - const { ref, isIntersecting } = useLazyIntersectionObserver({ - threshold: 0.1, - rootMargin: "100px", - triggerOnce: true, - }); + const { ref, isIntersecting } = useLazyIntersectionObserver(); useEffect(() => { if (!isIntersecting) return;