-
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
refactor(member): 활동 페이지, 지원 페이지 오류 수정 #253
Conversation
🦋 Changeset detectedLatest commit: fccb059 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
apps/member/package.json
Outdated
@@ -23,6 +23,7 @@ | |||
"@tanstack/react-query-devtools": "^5.40.1", | |||
"dayjs": "^1.11.10", | |||
"framer-motion": "^10.18.0", | |||
"html-entities": "^2.5.2", |
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.
HTML Entity를 처리하는 유틸이 기존에 있어요. 패키지를 설치한 이유가 있을까요?
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.
앗 utils
에 있는 걸 놓쳤네요. toDecodeHTMLEntities
유틸로 변경하겠습니다 알려주셔서 감사해요 :)
@@ -37,9 +37,11 @@ const AssignmentListSection = ({ dueDate }: AssignmentListSectionProps) => { | |||
} | |||
const { data: assignmentList } = useActivityGroupBoardByParent({ | |||
parentId: +assignmentId, | |||
size: 99, |
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.
해당 API를 사용할때 필요한 크기라면 훅 기본값으로 설정해두는게 좋을거 같아요
빌드 에러도 확인해주세요 |
Summary
활동 페이지와 지원 페이지 내부에 있는 오류들을 수정합니다.
Tasks
size
기본 값으로 모든 인원이 나타나지 않았던 문제 보완queryKey
수정하여 페이지네이션이 정상적으로 작동하도록 수정selectRecruitment
의 초기값을length
의id
로 변경하여id
값이 달라서 나타나지 않았던 문제 해결To Reviewer
Approve 된 후 프로덕션에 배포 예정입니다.