fix for value === 0 (#2199)
This commit is contained in:
parent
51c1712fa3
commit
e486a189c0
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ export const TimeSelector = ({
|
||||||
setMultiplier(x);
|
setMultiplier(x);
|
||||||
setTimeValue(value / x);
|
setTimeValue(value / x);
|
||||||
} else {
|
} else {
|
||||||
setTimeValue("");
|
setTimeValue(value);
|
||||||
setMultiplier(defaultMultiplier);
|
setMultiplier(defaultMultiplier);
|
||||||
}
|
}
|
||||||
}, [value]);
|
}, [value]);
|
||||||
|
|
Loading…
Reference in a new issue