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);
|
||||
setTimeValue(value / x);
|
||||
} else {
|
||||
setTimeValue("");
|
||||
setTimeValue(value);
|
||||
setMultiplier(defaultMultiplier);
|
||||
}
|
||||
}, [value]);
|
||||
|
|
Loading…
Reference in a new issue