Skip to content

Commit d2c5927

Browse files
committed
fix: make sure className is passed in correctly
1 parent 09208ea commit d2c5927

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/components/Button/Button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export const Button: FC<ButtonProps> = forwardRef<
5353
<Comp
5454
ref={ref}
5555
{...props}
56-
className={cn(buttonVariants({ variant, size, className }))}
56+
className={cn(buttonVariants({ variant, size }), className)}
5757
type={
5858
props.type === undefined && Comp === "button" ? "button" : props.type
5959
}

0 commit comments

Comments
 (0)