fix command menu keyboard shortcuts
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m22s
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m22s
This commit is contained in:
parent
96dc8de92f
commit
f0eaaaad5e
@ -45,6 +45,7 @@ export function CommandMenu({ ...props }: ButtonProps): ReactElement {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
document.addEventListener("keydown", down);
|
||||||
return () => document.removeEventListener("keydown", down);
|
return () => document.removeEventListener("keydown", down);
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user