Skip to content

Commit 550ae0c

Browse files
Update components/dash-core-components/src/utils/computeSliderMarkers.js
Co-authored-by: Alex Johnson <[email protected]>
1 parent 66ddba5 commit 550ae0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/dash-core-components/src/utils/computeSliderMarkers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ export const sanitizeMarks = ({min, max, marks, step}) => {
166166
return undefined;
167167
}
168168

169-
const [min_mark, max_mark] = Object.values(setUndefined(min, max, marks));
169+
const {min_mark, max_mark} = setUndefined(min, max, marks);
170170

171171
const truncated_marks =
172172
marks && isEmpty(marks) === false

0 commit comments

Comments
 (0)