remove unused code
This commit is contained in:
@@ -55,17 +55,6 @@ function ResultsPage() {
|
|||||||
}
|
}
|
||||||
}, [mediaFile, navigate]);
|
}, [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 <LinearProgress />;
|
if (!mediaFile) return <LinearProgress />;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user