From 895cccd23101358566b58e953fddf28714f82cad Mon Sep 17 00:00:00 2001 From: Joel Mathew Thomas <90510078+joelmathewthomas@users.noreply.github.com> Date: Thu, 20 Mar 2025 22:23:58 +0530 Subject: [PATCH] remove unused code --- client/src/Pages/ResultsPage.tsx | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/client/src/Pages/ResultsPage.tsx b/client/src/Pages/ResultsPage.tsx index 9ef8b86..02842af 100644 --- a/client/src/Pages/ResultsPage.tsx +++ b/client/src/Pages/ResultsPage.tsx @@ -55,17 +55,6 @@ function ResultsPage() { } }, [mediaFile, navigate]); -// const togglePlay = (index) => { -// if (audioRefs[index].current) { -// if (isPlaying) { -// audioRefs[index].current.pause(); -// } else { -// audioRefs[index].current.play(); -// } -// setIsPlaying(!isPlaying); -// } -// }; - if (!mediaFile) return ; return (