Skip to content

Commit 3ca6813

Browse files
committed
Run prettier
1 parent bbae8e9 commit 3ca6813

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/ts/utils/slider.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ export const getStepSeries = (
99
max: number
1010
): ReadonlyArray<number> => {
1111
const stepCount = getNumberOfSteps(step, min, max);
12-
const series = [...Array(stepCount)].map((_value: number, index: number) => min + index * step);
12+
const series = [...Array(stepCount)].map(
13+
(value: number, index: number) => min + index * step
14+
);
1315
// NOTE: if the last value in the series is less than the max we need another step in order to be able to select it
1416
return series[series.length - 1] < max ? [...series, max] : series;
1517
};

0 commit comments

Comments
 (0)