fix: Resolve TypeScript type error in package manager command copying

This commit is contained in:
2025-02-23 01:01:59 -06:00
committed by Jaron (aider)
parent 969c4a916e
commit b33c32c0d8
+1 -1
View File
@@ -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