mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-22 06:00:56 +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) {
|
if (isSpeaking) {
|
||||||
cancelSpeech();
|
cancelSpeech();
|
||||||
} else {
|
} else {
|
||||||
// const utterance = new SpeechSynthesisUtterance(message?.text ?? ""); // Assuming 'text' is the field in message that contains the text to speak
|
|
||||||
synthesizeSpeech(message?.text ?? "");
|
synthesizeSpeech(message?.text ?? "");
|
||||||
}
|
}
|
||||||
setIsSpeaking(!isSpeaking);
|
setIsSpeaking(!isSpeaking);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue