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.
isSubmit state사용을 안해도 될것 같다는 생각이 들어 다음과 같이 수정합니다.
기존 ->
취소 후 안되는 날짜를 다시 신청 하는 방식
변경 ->
그냥 안되는 날짜를 신청하는 방식 (취소 과정이 없어졌습니다)
이에 따라 구분감을 주기위해 신청한 날짜는 파랑색, 신청을 안하는 날짜는 붉은색으로 색칠하였습니다.
아직 해당 state를 참조하는 부분이 많아 완벽하게 덜어내지 않고 setIsSubmit(false)로 대체하였습니다.
추후 삭제를 할 예정입니다.