Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
chore: change in format
Browse files Browse the repository at this point in the history
  • Loading branch information
Dawn Carrasco authored and Dawn Carrasco committed Mar 6, 2024
1 parent ba7cee8 commit b356154
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/Datepicker/Datepicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ interface TimePickerProps {
onTimeChange: (time: string, date: Date | null) => void;
}

const TimePicker: React.FC<TimePickerProps> = ({selectedTime, selectedDate = null, onTimeChange}) => {
const TimePicker: React.FC<TimePickerProps> = ({
selectedTime,
selectedDate = null,
onTimeChange,
}) => {
const [inputValue, setInputValue] = useState(selectedTime);

useEffect(() => {
Expand Down

0 comments on commit b356154

Please sign in to comment.