mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-22 06:00:56 +02:00
Update SpeechRecognition.tsx
This commit is contained in:
parent
0b35dbe196
commit
67f111ccd0
1 changed files with 1 additions and 0 deletions
|
@ -71,6 +71,7 @@ const useSpeechRecognition = (ask) => {
|
|||
console.log('Setting up hotkeys');
|
||||
hotkeys('shift+alt+l', (event, handler) => {
|
||||
console.log('Hotkey triggered');
|
||||
event.preventDefault();
|
||||
if (isSpeechSupported) {
|
||||
toggleListening();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue