-
Notifications
You must be signed in to change notification settings - Fork 79
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
[고재성] Sprint9 #646
The head ref may contain hidden characters: "Next.js-\uACE0\uC7AC\uC131-sprint9"
[고재성] Sprint9 #646
Conversation
…ithub-actions [Fix] delete merged branch github action
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.
components/Header/index.tsx 로 하면 import 할 때 중복으로 Header/Header 이렇게 안써도 되는 것 참고해주세요~
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.
tailwind 스타일이 우선적으로 적용되어 있어서 만약 기본 스타일을 추가하거나 수정하고 싶으시면
@layer base
이런 것들을 활용하시면 좋을 것 같아요.
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.
이렇게 각각 type을 export 하셔도 되고 아니면 맨 아래에서 export type { Article, ArticleListResponse }
한번에 모아서도 가능한 것 참고해주세요~
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.
파일명을 date로 바꾸는게 확장성에서 좋을 것 같아요~
@@ -0,0 +1,9 @@ | |||
export function formatDate(date: Date): string { |
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.
format한 date를 얻는 것이기 때문에 getFormatDate
라고 해도 괜찮을 것 같습니다.
멘토에게