Board improvements (#3694)
* New board improvements * Improve board * Fix
This commit is contained in:
@ -94,7 +94,7 @@ export const Dropdown = ({
|
||||
});
|
||||
|
||||
useScopedHotkeys(
|
||||
Key.Escape,
|
||||
[Key.Escape],
|
||||
() => {
|
||||
closeDropdown();
|
||||
},
|
||||
|
||||
@ -66,7 +66,10 @@ export const RightDrawer = () => {
|
||||
|
||||
useScopedHotkeys(
|
||||
[Key.Escape],
|
||||
() => closeRightDrawer(),
|
||||
|
||||
() => {
|
||||
closeRightDrawer();
|
||||
},
|
||||
RightDrawerHotkeyScope.RightDrawer,
|
||||
[setIsRightDrawerOpen],
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user