diff --git a/packages/mui-material/src/FilledInput/FilledInput.js b/packages/mui-material/src/FilledInput/FilledInput.js index fcb381ce103ef4..b3f8d1cbdc800f 100644 --- a/packages/mui-material/src/FilledInput/FilledInput.js +++ b/packages/mui-material/src/FilledInput/FilledInput.js @@ -528,8 +528,6 @@ FilledInput.propTypes /* remove-proptypes */ = { value: PropTypes.any, }; -if (FilledInput) { - FilledInput.muiName = 'Input'; -} +FilledInput.muiName = 'Input'; export default FilledInput; diff --git a/packages/mui-material/src/Icon/Icon.js b/packages/mui-material/src/Icon/Icon.js index b7eb1a9a865f11..0406bf41d80add 100644 --- a/packages/mui-material/src/Icon/Icon.js +++ b/packages/mui-material/src/Icon/Icon.js @@ -222,8 +222,6 @@ Icon.propTypes /* remove-proptypes */ = { ]), }; -if (Icon) { - Icon.muiName = 'Icon'; -} +Icon.muiName = 'Icon'; export default Icon; diff --git a/packages/mui-material/src/Input/Input.js b/packages/mui-material/src/Input/Input.js index 6f1c58b7436643..c4177e90295b58 100644 --- a/packages/mui-material/src/Input/Input.js +++ b/packages/mui-material/src/Input/Input.js @@ -371,8 +371,6 @@ Input.propTypes /* remove-proptypes */ = { value: PropTypes.any, }; -if (Input) { - Input.muiName = 'Input'; -} +Input.muiName = 'Input'; export default Input; diff --git a/packages/mui-material/src/OutlinedInput/OutlinedInput.js b/packages/mui-material/src/OutlinedInput/OutlinedInput.js index af2715d017bda9..4cc7f4728485fd 100644 --- a/packages/mui-material/src/OutlinedInput/OutlinedInput.js +++ b/packages/mui-material/src/OutlinedInput/OutlinedInput.js @@ -438,8 +438,6 @@ OutlinedInput.propTypes /* remove-proptypes */ = { value: PropTypes.any, }; -if (OutlinedInput) { - OutlinedInput.muiName = 'Input'; -} +OutlinedInput.muiName = 'Input'; export default OutlinedInput; diff --git a/packages/mui-material/src/StepLabel/StepLabel.js b/packages/mui-material/src/StepLabel/StepLabel.js index 4567f3bac0fbd6..2128c5e99e7634 100644 --- a/packages/mui-material/src/StepLabel/StepLabel.js +++ b/packages/mui-material/src/StepLabel/StepLabel.js @@ -291,8 +291,6 @@ StepLabel.propTypes /* remove-proptypes */ = { ]), }; -if (StepLabel) { - StepLabel.muiName = 'StepLabel'; -} +StepLabel.muiName = 'StepLabel'; export default StepLabel; diff --git a/packages/mui-material/src/SvgIcon/SvgIcon.js b/packages/mui-material/src/SvgIcon/SvgIcon.js index cec089c7716bf2..30d36f516df7d5 100644 --- a/packages/mui-material/src/SvgIcon/SvgIcon.js +++ b/packages/mui-material/src/SvgIcon/SvgIcon.js @@ -242,8 +242,6 @@ SvgIcon.propTypes /* remove-proptypes */ = { viewBox: PropTypes.string, }; -if (SvgIcon) { - SvgIcon.muiName = 'SvgIcon'; -} +SvgIcon.muiName = 'SvgIcon'; export default SvgIcon;