Skip to content

Commit

Permalink
Fix another condition
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentSmedinga committed Nov 4, 2024
1 parent c943835 commit 1ffb676
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/react/src/Button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,7 @@ export const Button = forwardRef(
) => (
<button
{...restProps}
className={clsx(
'ams-button',
`ams-button--${variant}`,
icon && iconOnly && !iconBefore && `ams-button--icon-only`,
className,
)}
className={clsx('ams-button', `ams-button--${variant}`, icon && iconOnly && `ams-button--icon-only`, className)}
disabled={disabled}
ref={ref}
type={type || 'button'}
Expand Down

0 comments on commit 1ffb676

Please sign in to comment.