Update SpeechRecognition.tsx
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user