fix(ui): remove dead code

This commit is contained in:
Łukasz Mierzwa
2018-09-02 19:21:50 +01:00
parent b5112880a5
commit 38b0cb1557

View File

@@ -114,7 +114,7 @@ const CalculateChangeValueUp = (currentValue, step) => {
return 1;
}
// otherwise use step or a value that moves current value to the next step
return step - (currentValue % step) || step;
return step - (currentValue % step);
};
// calculate value for duration decrease button using a goal step