fix : TripEditPage / TripCalendar: 타입 에러 수정 및 getTripdDate 함수 일부 수정 #211
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📌 관련 이슈(선택)
#210
✨ 작업 내용
React Router caught the following error during render RangeError: Invalid time value
오류 발생let dateUTC = new Date( `${String(dates).slice(0, 15)} 12:00:00`).toISOString();
Date.toISOString에서 "Invalid time value" 오류가 발생 -> toISOString 메서드가 잘못된 날짜나 시간 값이 사용됨 -> getTripdDate 함수 일부 수정.
✅ 달성도
60%
📸 레퍼런스
체크리스트
도움이 필요한 부분 (선택)
리뷰 포인트 (선택)