fix: accidentally commited debug code
Some checks failed
/ deploy (push) Failing after 54s

This commit is contained in:
Dariusz Niemczyk 2025-02-12 23:39:37 +01:00
parent fc46f7a4cd
commit c6db42dff0
No known key found for this signature in database

View file

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