Reduce distance from start to show the scroll to top button

This commit is contained in:
Lim Chee Aun 2023-01-30 19:59:41 +08:00
parent d5447db035
commit 88ffb3a44c

View file

@ -412,7 +412,7 @@ function StatusPage() {
const { nearReachStart } = useScroll({
scrollableElement: scrollableRef.current,
distanceFromStart: 0.5,
distanceFromStart: 0.2,
});
return (