Skip to content

Commit f83b9c6

Browse files
committed
fix: update Button component in index.astro to use 'asChild' prop for improved functionality
1 parent 06426a2 commit f83b9c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ const bentogrid: BentoGridProps = {
173173
<div class="flex flex-col justify-center md:flex-row gap-5 w-full">
174174
{
175175
header.actions.map((action) => (
176-
<Button client:only>
176+
<Button client:only asChild>
177177
<a
178178
href={action.href}
179179
class="flex items-center gap-2 cursor-pointer"

0 commit comments

Comments
 (0)