Skip to content

Commit

Permalink
🚸 Improve time slot start times (#519)
Browse files Browse the repository at this point in the history
Set start time of new time slot to end of previous slot
  • Loading branch information
jonas-hoebenreich committed Feb 24, 2023
1 parent 057482b commit da895c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ const MonthCalendar: React.VoidFunctionComponent<DateTimePickerProps> = ({
const lastOption = expectTimeOption(
optionsForDay[optionsForDay.length - 1].option,
);
const startTime = lastOption.start;
const startTime = lastOption.end;

onChange([
...options,
Expand Down

0 comments on commit da895c1

Please sign in to comment.