getting rid of console log
This commit is contained in:
parent
3bca4d2426
commit
b2914975fd
|
@ -10,7 +10,6 @@ export function ScrollToTopButton(props: { className?: string }) {
|
|||
useEffect(() => {
|
||||
window.addEventListener('scroll', () => {
|
||||
if (window.scrollY > 500) {
|
||||
console.log('button commence')
|
||||
setVisible(true)
|
||||
} else {
|
||||
setVisible(false)
|
||||
|
|
Loading…
Reference in New Issue
Block a user