diff --git a/src/screens/VideoFeed/index.tsx b/src/screens/VideoFeed/index.tsx index 6b46d3445a..8858c186c7 100644 --- a/src/screens/VideoFeed/index.tsx +++ b/src/screens/VideoFeed/index.tsx @@ -409,11 +409,11 @@ function VideoItem({ useEffect(() => { let to: NodeJS.Timeout | null = null - if (active) { + if (active && !to) { to = setTimeout(() => { onItemSeen(post) }, 1000) - } else if (to) { + } else if (!active && to) { clearTimeout(to) } }, [active, post, onItemSeen])