From 17b6a57e5ab5da1b2f825d03fac3329d48a4e3c5 Mon Sep 17 00:00:00 2001 From: Dovile Date: Tue, 23 Jan 2024 18:05:08 +0100 Subject: [PATCH] minor fix --- src/components/fields/TimePicker.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/fields/TimePicker.tsx b/src/components/fields/TimePicker.tsx index 2c0f826..23e7454 100644 --- a/src/components/fields/TimePicker.tsx +++ b/src/components/fields/TimePicker.tsx @@ -38,7 +38,7 @@ const TimePicker = ({ const getTimeInterval = (time?: Date) => { if (time) { const minutes = time.getMinutes(); - if (minutes === 30 || minutes == 0) { + if (minutes === 30 || minutes === 0) { return time; } if (minutes < 30) {