diff --git a/src/app/components/command-menu.tsx b/src/app/components/command-menu.tsx index db186df..13b9b37 100644 --- a/src/app/components/command-menu.tsx +++ b/src/app/components/command-menu.tsx @@ -45,6 +45,7 @@ export function CommandMenu({ ...props }: ButtonProps): ReactElement { } }; + document.addEventListener("keydown", down); return () => document.removeEventListener("keydown", down); }, []);