From aa1d0d0ef0677eae2bb2a632e2867c601e31f735 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Sun, 22 Sep 2024 17:08:49 +0000 Subject: [PATCH] Restyled by prettier --- src/components/Buttons/bottom/ScrollTopToButton.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 {