Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Smileek committed Feb 9, 2024
1 parent f09dee6 commit e9d460d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mui-joy/src/Button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ const Button = React.forwardRef(function Button(inProps, ref) {
const size = inProps.size || buttonGroup.size || sizeProp;
const color = inProps.color || buttonGroup.color || colorProp;
const disabled =
(inProps.loading || inProps.disabled) ?? (buttonGroup.disabled || disabledProp || loading);
(inProps.loading || inProps.disabled) ?? (buttonGroup.disabled || loading || disabledProp);

const buttonRef = React.useRef<HTMLElement>(null);
const handleRef = useForkRef(buttonRef, ref);
Expand Down

0 comments on commit e9d460d

Please sign in to comment.