mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-24 04:10:15 +01:00
Update SpeechSynthesis.tsx
This commit is contained in:
parent
09c68d159e
commit
e7d7d7325d
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ function useSpeechSynthesis() {
|
||||||
console.log('Toggle Text-To-Speech', !isSpeechEnabled);
|
console.log('Toggle Text-To-Speech', !isSpeechEnabled);
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleKeyDown = (event) => {
|
const handleKeyDown = (event) => {
|
||||||
if (event.shiftKey && event.altKey && event.key === 'P') {
|
if (event.shiftKey && event.altKey && event.key === 'P') {
|
||||||
toggleSpeechSynthesis();
|
toggleSpeechSynthesis();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue