Skip to content

Commit fd0edc0

Browse files
authored
Merge pull request #6 from BetoFrega/main
docs: fix copy command for hook installation
2 parents c82ebfc + 05555d0 commit fd0edc0

File tree

1 file changed

+1
-1
lines changed
  • apps/www/app/docs/@details/[name]

1 file changed

+1
-1
lines changed

apps/www/app/docs/@details/[name]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ export default async function HookPage({
191191
<div className="relative">
192192
<Terminal>npx usehooks-cli@latest add {hook.name}</Terminal>
193193
<CopyToClipboard
194-
text={`npx usehooks-cli@latest add ${hook.title}`}
194+
text={`npx usehooks-cli@latest add ${hook.name}`}
195195
className="absolute top-2 right-2"
196196
/>
197197
</div>

0 commit comments

Comments
 (0)