fix:와인 모달 이미지 확장자 유효성 검사 및 잘못된 확장자 업로드 방지 #124
Merged
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.
📦 Pull Request
📝 요약(Summary)
AddWineModal,EditWineModal에 이미지 확장자 유효성 검사 추가.png,.jpg,.jpeg,.webp만 허용지원하지 않는 이미지 형식입니다.)react-hook-form의setError()로 수동 유효성 설정 처리추가로 마이프로필 이미지 확장자 에러를 알렛에서 토스트로 변경하였습니다
💬 공유사항 to 리뷰어
테스트 방법
.heic,.svg,.pdf등 허용되지 않은 확장자 선택.png,.jpg등 정상 확장자는 정상적으로 업로드 및 등록되는지 확인-->
🗂️ 관련 이슈
📸 스크린샷
✅ 체크리스트