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.
Summary
블로그 Development 탭의 아티클 목록을 시간 순으로 정렬 처리했습니다. #154
Description
아티클 목록을 최신 업데이트 날짜(BLOG_UPDATED_AT) 기준으로 정렬 처리
getSortedArticleByDate
함수를 생성필터링된 게시글 목록(
filteredArticle
)을 정렬된 상태로sortedArticle
에 저장노션에서 어떤 식으로 처리되는 것인지 모르겠으나 BLOG_CREATED_AT보다 BLOG_UPDATED_AT이 작성자가 아티클을 등록한 날짜에 더 가깝다고 판단하여 정렬 기준으로 선정했습니다.
아티클 카드에 사용하는 날짜가 BLOG_UPDATED_AT인 것을 확인했습니다. (
/blog/_components/card/DevelopCard.tsx
)전후 비교