diff --git a/app/web/src/components/pages/WatchBody.tsx b/app/web/src/components/pages/WatchBody.tsx index 221352c..c904542 100644 --- a/app/web/src/components/pages/WatchBody.tsx +++ b/app/web/src/components/pages/WatchBody.tsx @@ -730,10 +730,10 @@ function WatchInner(props: { locale: Locale; mediaItemId: string }) { const active = Math.abs(c.time - currentTime) < 0.5 || (c.time <= currentTime && - (i === listComments.length - 1 || - listComments[i + 1]!.time > currentTime)); + (listComments[i + 1]?.time ?? + Number.POSITIVE_INFINITY) > currentTime); return ( -