diff --git a/src/features/dashboard/sidebar/command.tsx b/src/features/dashboard/sidebar/command.tsx index 1ee3635d2..7a86dbf89 100644 --- a/src/features/dashboard/sidebar/command.tsx +++ b/src/features/dashboard/sidebar/command.tsx @@ -38,8 +38,7 @@ export default function DashboardSidebarCommand({ useKeydown((event) => { if (event.key === 'k' && (event.metaKey || event.ctrlKey)) { event.preventDefault() - event.stopPropagation() - setOpen(true) + setOpen((prev) => !prev) } return true @@ -72,7 +71,7 @@ export default function DashboardSidebarCommand({ - + No results found. {SIDEBAR_ALL_LINKS.map((link) => (