-
Notifications
You must be signed in to change notification settings - Fork 3
[Feat/#14] 학생회비 납부자 페이지 구현 #32
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
sinji2102
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.
테이블 뷰 많아서 복잡했을 텐데 고생하셨습니당~~ 중복 추가 + 삭제 이슈 수정되면 어푸할게요!
| /> | ||
| </TableHead> | ||
| )} | ||
| {headers.map((header, index) => ( |
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.
p3) map에 key값을 주는 방식은 성능 저하 이슈가 일어날 수 있어요! 관련해서 아티클 남기고 갑니다~
생각해보니까 header라서 굳이 값이 늘어날 걱정을 안 해도 될 것 같기도 하고... 저는 이런 경우에 그냥 item 이름을 key값으로 주거나 랜덥값을 key로 주는 방식을 사용하고 있습니다! 한 번 고민해보면 좋을 것 같아요
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.
header 를 key 값으로 주는 방식을 추천 받았는데, 이건 어떨까요? @sinji2102
📌 관련 이슈번호
🎟️ PR 유형
어떤 변경 사항이 있나요?
Check List
✅ Key Changes
1.

/payer-inquiry로 접근 가능합니다.2. shadcn.ui 에서 제공하는 버튼에 스타일을 여러 개 지정할 수 있어서, 데스크탑 뷰 primary 버튼과 secondary 버튼 스타일을 추가해두었습니다.
3. 사이드바 시트에서 학생회비 납부자를 추가하는 폼을 구현했습니다. 학번, 이름 입력하고 플러스 버튼을 누르면 추가되며 api 의 경우 적용하기를 눌렀을 때 적용되게 할 예정입니다.
📢 To Reviewers
원래 이런 식으로 선택한 이름 삭제 버튼이 있었는데
이렇게 바꾸었어요 피드백 부탁드립니다! 원래가 좋으면 고칠게요!!