Skip to content

Commit

Permalink
Fix the install button on the addon page
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolapps authored Nov 25, 2024
1 parent 15d7aca commit 7d53ca0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/addon-catalog/components/addon/addon-hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function AddonHero({ addon }: { addon: Addon }) {
const [state, setState] = useState(false);

const onClick = () => {
copy(`npx install ${addon.name ?? ''}`);
copy(`npm install ${addon.name ?? ''}`);
setState(true);
setTimeout(() => {
setState(false);
Expand Down

0 comments on commit 7d53ca0

Please sign in to comment.