diff --git a/docs/translations/api-docs/slider-root/slider-root.json b/docs/translations/api-docs/slider-root/slider-root.json
index 2934c8c185..e7dd0b7701 100644
--- a/docs/translations/api-docs/slider-root/slider-root.json
+++ b/docs/translations/api-docs/slider-root/slider-root.json
@@ -13,7 +13,7 @@
"direction": {
"description": "Sets the direction. For right-to-left languages, the lowest value is on the right-hand side."
},
- "disabled": { "description": "/** If true
, the component is disabled." },
+ "disabled": { "description": "If true
, the component is disabled." },
"largeStep": {
"description": "The granularity with which the slider can step through values when using Page Up/Page Down or Shift + Arrow Up/Arrow Down."
},
diff --git a/packages/mui-base/src/Slider/Root/SliderRoot.tsx b/packages/mui-base/src/Slider/Root/SliderRoot.tsx
index 1d710a3284..8ec70356b3 100644
--- a/packages/mui-base/src/Slider/Root/SliderRoot.tsx
+++ b/packages/mui-base/src/Slider/Root/SliderRoot.tsx
@@ -116,7 +116,6 @@ SliderRoot.propTypes /* remove-proptypes */ = {
*/
direction: PropTypes.oneOf(['ltr', 'rtl']),
/**
- * /**
* If `true`, the component is disabled.
* @default false
*/
diff --git a/packages/mui-base/src/Slider/Root/SliderRoot.types.ts b/packages/mui-base/src/Slider/Root/SliderRoot.types.ts
index fe3b53d9b9..ee81e6e3fe 100644
--- a/packages/mui-base/src/Slider/Root/SliderRoot.types.ts
+++ b/packages/mui-base/src/Slider/Root/SliderRoot.types.ts
@@ -69,7 +69,6 @@ export interface SliderRootProps
* The default value of the slider. Use when the component is not controlled.
*/
defaultValue?: number | ReadonlyArray;
- /**
/**
* If `true`, the component is disabled.
* @default false
diff --git a/packages/mui-base/src/useCompound/useCompoundParent.ts b/packages/mui-base/src/useCompound/useCompoundParent.ts
index 9dcbc02c26..8cc2dad24b 100644
--- a/packages/mui-base/src/useCompound/useCompoundParent.ts
+++ b/packages/mui-base/src/useCompound/useCompoundParent.ts
@@ -43,7 +43,9 @@ export const CompoundComponentContext = React.createContext | null>(null);
-CompoundComponentContext.displayName = 'CompoundComponentContext';
+if (process.env.NODE_ENV !== 'production') {
+ CompoundComponentContext.displayName = 'CompoundComponentContext';
+}
export interface UseCompoundParentReturnValue }> {
/**