Skip to content

Commit cb40d86

Browse files
Update src/components/ui/Button/Button.tsx
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 75791d8 commit cb40d86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ui/Button/Button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const Button = ({ children, type = 'button', customRootClass = '', className = '
2121
return (
2222
<ButtonPrimitive
2323
type={type}
24-
className={clsx(rootClass, 'button-${variant}', className, '')} data-accent-color={color ?? undefined} data-size={size}
24+
className={clsx(rootClass, `button-${variant}`, className)} data-accent-color={color ?? undefined} data-size={size}
2525
{...props}
2626
>
2727
{children}

0 commit comments

Comments
 (0)