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