Skip to content

Commit

Permalink
[@mantine/core] Fix incorrect loading state styles in Button and Acti…
Browse files Browse the repository at this point in the history
…onIcon components (#2618)
  • Loading branch information
rtivital committed Oct 3, 2022
1 parent 88cf782 commit a85b20f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mantine-core/src/Button/Button.tsx
Expand Up @@ -127,7 +127,7 @@ export const _Button = forwardRef<HTMLButtonElement, ButtonProps>((props, ref) =
<UnstyledButton
className={cx(classes.root, className)}
type={type}
disabled={disabled || loading}
disabled={disabled}
data-button
data-disabled={disabled || undefined}
data-loading={loading || undefined}
Expand Down

0 comments on commit a85b20f

Please sign in to comment.