Skip to content

Commit

Permalink
fix: update ButtonAsChild component to use "#" as the href value for …
Browse files Browse the repository at this point in the history
…the Link element
  • Loading branch information
GalindoSVQ committed Jul 3, 2024
1 parent 06cc0cd commit 15acf2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/www/registry/default/example/button-as-child.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Button } from "@/registry/default/ui/button"
export default function ButtonAsChild() {
return (
<Button asChild>
<Link href="/login">Login</Link>
<Link href="#as-child">Login</Link>
</Button>
)
}

0 comments on commit 15acf2e

Please sign in to comment.