From b33c32c0d849d1091498e8fe9cd11cd8b5a5bf14 Mon Sep 17 00:00:00 2001 From: Jaron Date: Sun, 23 Feb 2025 01:01:59 -0600 Subject: [PATCH] fix: Resolve TypeScript type error in package manager command copying --- website/src/app/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/app/page.tsx b/website/src/app/page.tsx index cdd382f..c3394de 100644 --- a/website/src/app/page.tsx +++ b/website/src/app/page.tsx @@ -139,7 +139,7 @@ export default function Home() { pnpm: 'pnpm add unicord', bun: 'bun add unicord' }; - navigator.clipboard.writeText(commands[activeTab]); + navigator.clipboard.writeText(commands[activeTab as keyof typeof commands]); }} > Copy