diff --git a/docs/data/material/components/slider/DiscreteSliderValues.js b/docs/data/material/components/slider/DiscreteSliderValues.js index 7a801e3ad05619..82aa964ab98eb4 100644 --- a/docs/data/material/components/slider/DiscreteSliderValues.js +++ b/docs/data/material/components/slider/DiscreteSliderValues.js @@ -25,17 +25,12 @@ function valuetext(value) { return `${value}°C`; } -function valueLabelFormat(value) { - return marks.findIndex((mark) => mark.value === value) + 1; -} - export default function DiscreteSliderValues() { return ( mark.value === value) + 1; -} - export default function DiscreteSliderValues() { return (