From c794f076787e1e7c957c6052b4e542473df8db48 Mon Sep 17 00:00:00 2001 From: bsu3338 Date: Sun, 3 Sep 2023 22:03:34 -0500 Subject: [PATCH] Update HoverButtons.tsx --- client/src/components/Messages/HoverButtons.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/client/src/components/Messages/HoverButtons.tsx b/client/src/components/Messages/HoverButtons.tsx index c3cca0f659..db239c537b 100644 --- a/client/src/components/Messages/HoverButtons.tsx +++ b/client/src/components/Messages/HoverButtons.tsx @@ -54,7 +54,6 @@ export default function HoverButtons({ if (isSpeaking) { cancelSpeech(); } else { - // const utterance = new SpeechSynthesisUtterance(message?.text ?? ""); // Assuming 'text' is the field in message that contains the text to speak synthesizeSpeech(message?.text ?? ""); } setIsSpeaking(!isSpeaking);