From 5ca007de1541af73cd0e27c4f6843cef3309be3a Mon Sep 17 00:00:00 2001 From: Aman <138197666+aman44444@users.noreply.github.com> Date: Wed, 18 Oct 2023 16:37:59 +0530 Subject: [PATCH] fix: change shortcut for searching a new partner (#465) --- client/src/components/Anonymous.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/Anonymous.jsx b/client/src/components/Anonymous.jsx index 1eab557a..0226f610 100644 --- a/client/src/components/Anonymous.jsx +++ b/client/src/components/Anonymous.jsx @@ -119,7 +119,7 @@ const Anonymous = ({ onChatClosed }) => { }; useKeyPress(['x'], () => handleClose(), ShortcutFlags.ctrl | ShortcutFlags.shift); - useKeyPress(['n'], () => handleClose(true), ShortcutFlags.ctrl); + useKeyPress(['n'], () => handleClose(true), ShortcutFlags.ctrl | ShortcutFlags.alt); useEffect(() => { const newMessageEvents = [