From b356154609d04c7002cb92ffa67f386256d97de0 Mon Sep 17 00:00:00 2001 From: Dawn Carrasco Date: Wed, 6 Mar 2024 15:23:08 +0800 Subject: [PATCH] chore: change in format --- src/components/Datepicker/Datepicker.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/Datepicker/Datepicker.tsx b/src/components/Datepicker/Datepicker.tsx index 1a31720..c725c4d 100644 --- a/src/components/Datepicker/Datepicker.tsx +++ b/src/components/Datepicker/Datepicker.tsx @@ -35,7 +35,11 @@ interface TimePickerProps { onTimeChange: (time: string, date: Date | null) => void; } -const TimePicker: React.FC = ({selectedTime, selectedDate = null, onTimeChange}) => { +const TimePicker: React.FC = ({ + selectedTime, + selectedDate = null, + onTimeChange, +}) => { const [inputValue, setInputValue] = useState(selectedTime); useEffect(() => {