mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-10 07:25:35 +00:00
feat: add validation for search modal
This commit is contained in:
@@ -44,7 +44,7 @@ export default function Dropdown({
|
||||
const { isShowing, toggle, close } = useToggle();
|
||||
|
||||
useClickOutside(dropdownRef, close);
|
||||
useShortcut('ESCAPE_KEY', close);
|
||||
useShortcut('ESCAPE_KEY', close, { disableGlobalCheck: true });
|
||||
|
||||
return (
|
||||
<DropdownStyle
|
||||
|
||||
Reference in New Issue
Block a user