-
Notifications
You must be signed in to change notification settings - Fork 5
fix: 이미지 URL 및 날짜 검증 로직 추가 #112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
💄 Storybook: https://673dcf13c9a3a1189a7c6fd4-sdqachdppf.chromatic.com/ # Chromatic에서 생성된 Storybook URL |
yyezzzy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이미지 url이랑 date에러 나는거 수정해주셨군요 ! 감사합니다 ~
| // 유효한 Date 객체인지 확인 | ||
| if (!(date instanceof Date) || isNaN(date.getTime())) { | ||
| return new Date().toLocaleDateString("ko-KR", { year: "numeric", month: "2-digit", day: "2-digit" }); | ||
| } | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
| {/* 이미지 인디케이터 - 유효한 이미지가 2개 이상이고 에러가 없을 때만 표시 */} | ||
| {imageUrls.filter((url) => isValidS3Url(url)).length > 1 && !imageError && ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
hongggyelim
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수고하셨습니다~!
Uh oh!
There was an error while loading. Please reload this page.