Skip to content

Commit

Permalink
yarn prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeeshanTamboli committed Nov 2, 2021
1 parent 6b739f4 commit 1c026b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mui-material/src/Button/Button.js
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ const Button = React.forwardRef(function Button(inProps, ref) {
} = props;

const color = colorProp || colorContext || 'primary';
// TODO v6: Use nullish coalescing (??) instead of OR operator for these boolean props so that these boolean props for Button with ButtonGroup context take priority. See conversation from https://github.com/mui-org/material-ui/pull/28645#discussion_r738380902.
// TODO v6: Use nullish coalescing (??) instead of OR operator for these boolean props so that these boolean props for Button with ButtonGroup context take priority. See conversation from https://github.com/mui-org/material-ui/pull/28645#discussion_r738380902.
const disabled = disabledProp || disabledContext || false;
const disableElevation = disableElevationProp || disableElevationContext || false;
const disableFocusRipple = disableFocusRippleProp || disableFocusRippleContext || false;
Expand Down

0 comments on commit 1c026b8

Please sign in to comment.