Skip to content

Commit aa1d0d0

Browse files
Restyled by prettier
1 parent 4c59167 commit aa1d0d0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/Buttons/bottom/ScrollTopToButton.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ export default function ScrollTopToBottom() {
1313
};
1414

1515
const handleScroll = () => {
16-
const bottomThreshold = document.documentElement.scrollHeight - window.innerHeight - 100;
16+
const bottomThreshold =
17+
document.documentElement.scrollHeight - window.innerHeight - 100;
1718
if (window.scrollY < bottomThreshold) {
1819
setShowButton(true);
1920
} else {

0 commit comments

Comments
 (0)