-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: 이전글 다음글 바로가기 추가 #278
Conversation
|
interface PostNavLinkProps { | ||
type: '이전' | '다음'; | ||
category: string; | ||
postLink: PostLinkData | null; |
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.
post나 postInfo 같은 이름이 더 좋을 것 같아요. postLink라고 하면 URL string이 와야할 것 같은 느낌이 들어요!
src/types/community.ts
Outdated
@@ -1,3 +1,10 @@ | |||
export interface PostLinkData { |
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.
위에서 얘기한 props랑 관련해서 이것도 이름을 AdjacentPost, SiblingPost 이런 걸로 바꾸면 더 좋지 않을까 싶습니다 !
Deploying abcdedu-frontend-dev with
|
Latest commit: |
1c1dfb0
|
Status: | ✅ Deploy successful! |
Preview URL: | https://ed021848.abcdedu-frontend.pages.dev |
Branch Preview URL: | https://feat-post-navigation-phj.abcdedu-frontend.pages.dev |
타입명이랑 변수명 쓰면서도 애매했는데 수정하니까 훨씬 낫네요 👍 |
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.
수고하셨습니다!
📝 개요
포스트 댓글 아래에 이전글 다음글 바로가기 및 목록으로 돌아가는 버튼 추가
🚀 변경사항
피드백 반영 후
🔗 관련 이슈
#275
➕ 기타