mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-19 01:40:15 +01:00
Update SpeechRecognition.tsx
This commit is contained in:
parent
c02d43bd36
commit
c7ffb25217
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ const useSpeechRecognition = (ask) => {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleKeyDown = (event) => {
|
const handleKeyDown = (e) => {
|
||||||
if (e.shiftKey && e.altKey && e.key === 'L') {
|
if (e.shiftKey && e.altKey && e.key === 'L') {
|
||||||
if (isSpeechSupported) {
|
if (isSpeechSupported) {
|
||||||
toggleListening();
|
toggleListening();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue