Update SpeechRecognition.tsx

This commit is contained in:
bsu3338
2023-09-03 23:12:14 -05:00
committed by GitHub
parent 67f111ccd0
commit 1019529634

View File

@@ -68,9 +68,7 @@ const useSpeechRecognition = (ask) => {
};
useEffect(() => {
console.log('Setting up hotkeys');
hotkeys('shift+alt+l', (event, handler) => {
console.log('Hotkey triggered');
event.preventDefault();
if (isSpeechSupported) {
toggleListening();