From 2d1a0042f74a6fe85aa5e408eb1dd3066efbaf72 Mon Sep 17 00:00:00 2001
From: Rosyid Haryadi <rosyid_haryadi@protonmail.com>
Date: Sun, 1 Oct 2023 14:34:37 +0700
Subject: upd: minTime maxTime makes it annoying to input, invalid time handled
 in result instead

---
 src/Entry.jsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/Entry.jsx')

diff --git a/src/Entry.jsx b/src/Entry.jsx
index c486680..6c57903 100644
--- a/src/Entry.jsx
+++ b/src/Entry.jsx
@@ -22,7 +22,7 @@ function Entry({propId, propDate, propStart, propFinish, handleEntryChange}) {
                 <TimePicker label="Mulai"
                             ampm={false}
                             value={start}
-                            maxTime={finish}
+                            // maxTime={finish}
                             onAccept={(newStart) => {
                                 setStart(newStart);
                                 handleEntryChange({id: propId, start: newStart}, 'start')
@@ -31,7 +31,7 @@ function Entry({propId, propDate, propStart, propFinish, handleEntryChange}) {
                 <TimePicker label="Selesai"
                             ampm={false}
                             value={finish}
-                            minTime={start}
+                            // minTime={start}
                             onAccept={(newFinish) => {
                                 setFinish(newFinish);
                                 handleEntryChange({id: propId, finish: newFinish}, 'finish')
-- 
cgit v1.2.3-70-g09d2

