Skip to content

Commit

Permalink
fix: change shortcut for searching a new partner (#465)
Browse files Browse the repository at this point in the history
  • Loading branch information
aman44444 authored Oct 18, 2023
1 parent ab1a0ca commit 5ca007d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/Anonymous.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

1 comment on commit 5ca007d

@vercel
Copy link

@vercel vercel bot commented on 5ca007d Oct 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.