From c7ffb252176ca18967a8c1f16c966b0d65d5d96c Mon Sep 17 00:00:00 2001 From: bsu3338 Date: Wed, 9 Aug 2023 15:21:24 -0500 Subject: [PATCH] Update SpeechRecognition.tsx --- client/src/components/Input/SpeechRecognition.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/Input/SpeechRecognition.tsx b/client/src/components/Input/SpeechRecognition.tsx index d232bf5f91..16313ca26b 100644 --- a/client/src/components/Input/SpeechRecognition.tsx +++ b/client/src/components/Input/SpeechRecognition.tsx @@ -65,7 +65,7 @@ const useSpeechRecognition = (ask) => { } }; - const handleKeyDown = (event) => { + const handleKeyDown = (e) => { if (e.shiftKey && e.altKey && e.key === 'L') { if (isSpeechSupported) { toggleListening();