fix altKey

This commit is contained in:
Georgi Gardev
2025-02-16 19:34:00 +02:00
parent ccaf7bc3fa
commit 5c7b8cca2d

View File

@@ -42,7 +42,8 @@ export function SearchWidget({
const onKeyPress = (e: React.KeyboardEvent) => {
e.stopPropagation();
if (canOpenApp && e.metaKey && e.key === 'Enter') {
console.log({ e });
if (canOpenApp && e.altKey && e.key === 'Enter') {
onOpenApp();
return;
}