From bc5c0c0fe9569edda38a86b4b96f2ac5844ea63f Mon Sep 17 00:00:00 2001 From: Shusui MOYATANI Date: Tue, 2 Jan 2024 17:37:37 +0900 Subject: [PATCH] fix: lazy load --- src/components/utils/LazyLoad.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/utils/LazyLoad.tsx b/src/components/utils/LazyLoad.tsx index 030505e..8252680 100644 --- a/src/components/utils/LazyLoad.tsx +++ b/src/components/utils/LazyLoad.tsx @@ -21,7 +21,7 @@ const LazyLoad: Component = (props) => { }); }, { - threshold: props.threshold ?? 0, + threshold: props.threshold ?? [0, 1], }, ); if (containerRef != null) {