diff --git a/src/utils.js b/src/utils.js index 5c3557865..70cedbac7 100644 --- a/src/utils.js +++ b/src/utils.js @@ -90,7 +90,7 @@ export function calculateNextValue(func, value, props) { if (props.step) { return operations[func](value, props.step); } else if (!!Object.keys(props.marks).length && !!props.marks[keyToGet]) { - return props.marks[keyToGet]; + return keyToGet; } return value; }