From 9c8c7f1ddacc2baca70c9c3f7f1264fe1e1403a7 Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Tue, 14 Feb 2023 14:35:14 +0530 Subject: [PATCH] fix: mac text copy fix (#277) --- apps/app/components/command-palette/command-pallette.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app/components/command-palette/command-pallette.tsx b/apps/app/components/command-palette/command-pallette.tsx index 678e17d46..cb4f398b9 100644 --- a/apps/app/components/command-palette/command-pallette.tsx +++ b/apps/app/components/command-palette/command-pallette.tsx @@ -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;