mirror of
https://github.com/jaronpate/unicord.git
synced 2026-10-18 21:47:40 +00:00
fix: Resolve TypeScript type error in package manager command copying
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user