From e486a189c0167a3465a04b92a57bb1e5cb52fa97 Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Sun, 6 Mar 2022 12:20:51 +0100 Subject: [PATCH] fix for value === 0 (#2199) --- src/components/time-selector/TimeSelector.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/time-selector/TimeSelector.tsx b/src/components/time-selector/TimeSelector.tsx index 6075372ae0..176558bf9b 100644 --- a/src/components/time-selector/TimeSelector.tsx +++ b/src/components/time-selector/TimeSelector.tsx @@ -63,7 +63,7 @@ export const TimeSelector = ({ setMultiplier(x); setTimeValue(value / x); } else { - setTimeValue(""); + setTimeValue(value); setMultiplier(defaultMultiplier); } }, [value]);