Update SpeechRecognition.tsx

This commit is contained in:
bsu3338
2023-09-03 23:08:48 -05:00
committed by GitHub
parent 0b35dbe196
commit 67f111ccd0

View File

@@ -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();
}