Skip to content

Commit e0ec97b

Browse files
authored
Merge pull request #4425 from CodeHarborHub/restyled/ajay-dhangar-patch-4
Restyle Unused argument removed
2 parents 4c59167 + aa1d0d0 commit e0ec97b

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)