Removed logging
This commit is contained in:
parent
998f11215b
commit
6dff8827f7
|
@ -75,7 +75,6 @@ export const Header = (props: Props) => {
|
||||||
setIsScrollingBottom(window.scrollY > scrollTop)
|
setIsScrollingBottom(window.scrollY > scrollTop)
|
||||||
setIsScrolled(window.scrollY > 0)
|
setIsScrolled(window.scrollY > 0)
|
||||||
scrollTop = window.scrollY
|
scrollTop = window.scrollY
|
||||||
window.console.log(getIsScrollingBottom() && getIsScrolled())
|
|
||||||
}
|
}
|
||||||
|
|
||||||
window.addEventListener('scroll', handleScroll, { passive: true })
|
window.addEventListener('scroll', handleScroll, { passive: true })
|
||||||
|
|
Loading…
Reference in New Issue
Block a user