diff --git a/.gitignore b/.gitignore index bf2abdd0..f5857e93 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,8 @@ # plebbit temp files .plebbit bin +.env +.deploy-env # Logs logs diff --git a/src/components/topbar/topbar.tsx b/src/components/topbar/topbar.tsx index f2fa6a39..fafa1da2 100644 --- a/src/components/topbar/topbar.tsx +++ b/src/components/topbar/topbar.tsx @@ -159,7 +159,7 @@ const TopBarMobile = ({ subplebbitAddress }: { subplebbitAddress: string }) => { setVisible(prevScrollPos > currentScrollPos || currentScrollPos < 10); prevScrollPosRef.current = currentScrollPos; - }, 50); + }, 25); window.addEventListener('scroll', debouncedHandleScroll); diff --git a/src/globals.d.ts b/src/globals.d.ts index e09162b2..85b49151 100644 --- a/src/globals.d.ts +++ b/src/globals.d.ts @@ -1,6 +1,5 @@ declare global { interface Window { - STICKY_MENU_SCROLL_LISTENER: boolean; isElectron: boolean; } }