From 88ffb3a44c3866406fc8e18af03d5a64ad399f16 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Mon, 30 Jan 2023 19:59:41 +0800 Subject: [PATCH] Reduce distance from start to show the scroll to top button --- src/pages/status.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/status.jsx b/src/pages/status.jsx index 2b8cb72b..882b07af 100644 --- a/src/pages/status.jsx +++ b/src/pages/status.jsx @@ -412,7 +412,7 @@ function StatusPage() { const { nearReachStart } = useScroll({ scrollableElement: scrollableRef.current, - distanceFromStart: 0.5, + distanceFromStart: 0.2, }); return (