Skip to content

Commit

Permalink
Merge pull request #774 from woowacourse-teams/fix#773
Browse files Browse the repository at this point in the history
모임 수정 페이지 Time validate가 현재 날짜에 종속되지 않는 문제 수정
  • Loading branch information
ss0526100 authored Oct 24, 2024
2 parents fb86c04 + 3b637dc commit f1b6745
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const useMoimInfoInput = (state: MoimInputInfo) => {
const isValidMoimInfoInput =
validateTitle(inputData.title) &&
(inputData.date === '' || validateDate(inputData.date)) &&
(inputData.time === '' || validateTime(inputData.time)) &&
(inputData.time === '' || validateTime(inputData.time, inputData.date)) &&
(inputData.place === '' || validatePlace(inputData.place)) &&
validateMaxPeople(inputData.maxPeople);

Expand Down

0 comments on commit f1b6745

Please sign in to comment.