From b2914975fde3f89842a8e7ce1f7248d31228f355 Mon Sep 17 00:00:00 2001 From: ingawei Date: Thu, 29 Sep 2022 18:29:31 -0700 Subject: [PATCH] getting rid of console log --- web/components/scroll-to-top-button.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/web/components/scroll-to-top-button.tsx b/web/components/scroll-to-top-button.tsx index 80dc47b2..35b8bb14 100644 --- a/web/components/scroll-to-top-button.tsx +++ b/web/components/scroll-to-top-button.tsx @@ -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)