Skip to content

Commit

Permalink
fix: 최소 이미지 개수 검증 조건 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
mintmin0320 committed Apr 3, 2024
1 parent fe5b35e commit 4032117
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const validateImage = ({
}

/** 최소 이미지 개수 */
if (existingImages.length + multipartReviewImages.length === MIN_COUNT) {
if (totalImagesCount < MIN_COUNT) {
renderToast({
type: 'error',
message: '이미지를 등록해 주세요.',
Expand Down

0 comments on commit 4032117

Please sign in to comment.