Skip to content

Commit

Permalink
feat: 예약 최대 가능 시간 해제
Browse files Browse the repository at this point in the history
  • Loading branch information
yeolyi committed Apr 6, 2024
1 parent 27671f5 commit 8a9afa2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,8 @@ const DurationPicker = ({
const startTimeInMinute = startTime.getHours() * 60 + startTime.getMinutes();

// 최대 3시간이라서 최대값은 6
const remainingOptionCnt = Math.min(6, (endOfDayInMinute - startTimeInMinute) / 30);
// const remainingOptionCnt = Math.min(6, (endOfDayInMinute - startTimeInMinute) / 30);
const remainingOptionCnt = (endOfDayInMinute - startTimeInMinute) / 30;

const contents = Array(remainingOptionCnt)
.fill(0)
Expand Down

0 comments on commit 8a9afa2

Please sign in to comment.