fix command menu keyboard shortcuts
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m22s

This commit is contained in:
Lee 2024-04-22 02:13:30 +01:00
parent 96dc8de92f
commit f0eaaaad5e

@ -45,6 +45,7 @@ export function CommandMenu({ ...props }: ButtonProps): ReactElement {
}
};
document.addEventListener("keydown", down);
return () => document.removeEventListener("keydown", down);
}, []);