Fix: Command menu keeps the last input (#1723)

Fix/Command menu keeps the last input
This commit is contained in:
Ayush Agrawal
2023-09-25 19:10:28 +05:30
committed by GitHub
parent fabbe7ddf2
commit cd20a437d8

View File

@ -38,6 +38,7 @@ export const CommandMenu = () => {
useScopedHotkeys( useScopedHotkeys(
'ctrl+k,meta+k', 'ctrl+k,meta+k',
() => { () => {
setSearch('');
openCommandMenu(); openCommandMenu();
}, },
AppHotkeyScope.CommandMenu, AppHotkeyScope.CommandMenu,