getting rid of console log

This commit is contained in:
ingawei 2022-09-29 18:29:31 -07:00
parent 3bca4d2426
commit b2914975fd

View File

@ -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)