fix: oopsie, accidentally commited debug code #16

Merged
palid merged 1 commit from fix/accidently-removed-animation into main 2025-02-12 22:39:46 +00:00
Showing only changes of commit c6db42dff0 - Show all commits

View file

@ -96,7 +96,6 @@ function Video({ sourceBase, hidden }: {
useEffect(() => { useEffect(() => {
if (!videoRef.current || hidden) return; if (!videoRef.current || hidden) return;
console.log('effect running running and running running')
const handleScroll = () => { const handleScroll = () => {
if (!videoRef.current || hidden) return; if (!videoRef.current || hidden) return;
@ -108,7 +107,7 @@ function Video({ sourceBase, hidden }: {
}; };
const throttledHandleScroll = () => { const throttledHandleScroll = () => {
// requestAnimationFrame(handleScroll); requestAnimationFrame(handleScroll);
}; };
window.addEventListener("scroll", throttledHandleScroll); window.addEventListener("scroll", throttledHandleScroll);