From 67376046aec42511caed7437eb53486529bcbb21 Mon Sep 17 00:00:00 2001 From: Arjun Patel Date: Mon, 17 Jan 2022 17:21:22 -0800 Subject: [PATCH] Update keyboardContext.tsx --- contexts/keyboardContext.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contexts/keyboardContext.tsx b/contexts/keyboardContext.tsx index 9e250a4..0f43899 100644 --- a/contexts/keyboardContext.tsx +++ b/contexts/keyboardContext.tsx @@ -341,7 +341,7 @@ export default function KeyboardContextProvider({ children }) { } // handle for when in modals, don't want any of this crap - if (showModalType != ShowModalType.na || !showModalType) { + if (showModalType == ShowModalType.createRoom) { return; } @@ -445,6 +445,7 @@ export default function KeyboardContextProvider({ children }) { isMuted, teamShortcutMappings, ctrlDown, + showModalType, ] );