ZZIPSA / kkuk-kkuk-fe

스탬프랠리 웹앱 '꾹꾹'의 프론트엔드 리포지토리
https://kkuk-kkuk-fe.vercel.app
0 stars 1 forks source link

#168 랠리 기한 컴포넌트 추가 및 #183 해결 #184

Closed 2chanhaeng closed 3 months ago

2chanhaeng commented 3 months ago

작업 내용

관련 이슈: #168 #183 랠리 기한 컴포넌트를 추가했습니다. 스탬프 버튼이 눌리지 않는 버그를 수정했습니다.

테스트 내용

https://github.com/ZZIPSA/kkuk-kkuk-fe/assets/61987505/8a643768-5478-44cf-9056-299d6ef890cf

168

리뷰어에게

리뷰하기 전

유틸리티 패키지를 설치했습니다. 실행 전 패키지 설치 후 정상적으로 실행 가능합니다.

리뷰 후

체크리스트

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
kkuk-kkuk-fe ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 3, 2024 3:32pm
mdgarden commented 3 months ago
Type error: Argument of type 'Date | null' is not assignable to parameter of type 'Date'.
  Type 'null' is not assignable to type 'Date'.
  68 |     derive('since')(({ createdAt }) => displayDateYyMmDd(createdAt)),
  69 |     derive('until')(({ isActive, deadline }) => (isActive ? displayDateYyMmDd(deadline) : null)),
> 70 |     derive('completed')(({ isActive, percentage, updatedAt }) => (!isActive && percentage === 100 ? displayDateYyMmDd(updatedAt) : null)),
     |                                                                                                                       ^
  71 |     remain(['dDay', 'since', 'until', 'completed']),
  72 |   );
  73 |

에러 로그 남기고 갑니다!