Close menu when trigger shortcut
This commit is contained in:
parent
8428ca232c
commit
91ee0da8ef
|
@ -54,6 +54,7 @@ function Shortcuts() {
|
|||
const { path } = formattedShortcuts[index];
|
||||
if (path) {
|
||||
navigate(path);
|
||||
menuRef.current?.closeMenu?.();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue