Skip to content

Commit f9c0f9c

Browse files
authored
fix: shadcn button type (#1416)
1 parent 77c2549 commit f9c0f9c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/shadcn/src/components/ui/button.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(
4747
<Comp
4848
className={cn(buttonVariants({ variant, size, className }))}
4949
ref={ref}
50+
type="button"
5051
{...props}
5152
/>
5253
);

0 commit comments

Comments
 (0)