mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-21 21:50:49 +02:00
Update HoverButtons.tsx
This commit is contained in:
parent
7ae0e7e97c
commit
c794f07678
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue