diff --git a/client/src/components/Messages/HoverButtons.tsx b/client/src/components/Messages/HoverButtons.tsx index c3cca0f65..db239c537 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);