diff --git a/src/components/Buttons/bottom/ScrollTopToButton.jsx b/src/components/Buttons/bottom/ScrollTopToButton.jsx index 3eecc034f..9ce2cc0da 100644 --- a/src/components/Buttons/bottom/ScrollTopToButton.jsx +++ b/src/components/Buttons/bottom/ScrollTopToButton.jsx @@ -13,7 +13,8 @@ export default function ScrollTopToBottom() { }; const handleScroll = () => { - const bottomThreshold = document.documentElement.scrollHeight - window.innerHeight - 100; + const bottomThreshold = + document.documentElement.scrollHeight - window.innerHeight - 100; if (window.scrollY < bottomThreshold) { setShowButton(true); } else {