diff --git a/src/Time/TimeInput.tsx b/src/Time/TimeInput.tsx index 97314d9..3aefe22 100644 --- a/src/Time/TimeInput.tsx +++ b/src/Time/TimeInput.tsx @@ -57,7 +57,7 @@ function TimeInput( const onInnerChange = (number: number) => { setControlledValue(`${number}`) - if (number !== 0) { + if (number >= 0) { onChanged(Number(number)) } }