Skip to content

Commit

Permalink
fix: classname was not being tailwind deduped in button
Browse files Browse the repository at this point in the history
  • Loading branch information
ribeirojose committed Jul 19, 2024
1 parent 5ea8815 commit b122f24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ui/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(

return (
<Comp
className={cn(buttonVariants({ variant, size, className }))}
className={cn(buttonVariants({ variant, size }), className)}
ref={ref}
disabled={loading}
{...props}
Expand Down

0 comments on commit b122f24

Please sign in to comment.