mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-05 08:47:05 +02:00
Preserve Editor State (#151)
This commit is contained in:
@@ -112,7 +112,7 @@ export const Dropdown = forwardRef<DropdownRef, DropdownProps>(function Dropdown
|
||||
close() {
|
||||
handleClose();
|
||||
},
|
||||
}));
|
||||
}), [handleClose, isOpen, setIsOpen]);
|
||||
|
||||
useHotKey(hotKeyAction ?? null, () => {
|
||||
setDefaultSelectedIndex(0);
|
||||
|
||||
Reference in New Issue
Block a user