From 529a387c1a7c63a3c870aefe7f2d2b1a0bcdcd1a Mon Sep 17 00:00:00 2001 From: Johnny Zheng <jzheng2@emich.edu> Date: Tue, 18 Mar 2025 18:25:40 -0400 Subject: [PATCH] Comment section closes when next button is clicked --- src/App.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/App.tsx b/src/App.tsx index e3cdb9a..603155c 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -236,6 +236,7 @@ function Home() { }, [comments, loggedIn]); const handleNext = () => { + toggleComments(); setVideoIndex( (prevIndex) => (prevIndex + initState) % filteredArray.length ); -- GitLab