fix: mac text copy fix (#277)

This commit is contained in:
Anmol Singh Bhatia 2023-02-14 14:35:14 +05:30 committed by GitHub
parent 7950f191e7
commit 9c8c7f1dda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,7 +105,7 @@ export const CommandPalette: React.FC = () => {
if ((e.ctrlKey || e.metaKey) && (e.key === "k" || e.key === "K")) {
e.preventDefault();
setIsPaletteOpen(true);
} else if (e.ctrlKey && (e.key === "c" || e.key === "C")) {
} else if ((e.ctrlKey || e.metaKey) && (e.key === "c" || e.key === "C")) {
if (e.altKey) {
e.preventDefault();
if (!router.query.issueId) return;