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.
연관 이슈
close #204
📁 작업 내용
찾는 포지션 설정 방식 변경
PositionBox.tsx
및PositionCategory.tsx
리팩토링🖥 구현 결과 (선택)
20250303_055144.mp4
📁 기타 사항
main
이나sub
는 필수값이 하나 필요하므로 단일 Position 타입으로,want
는 선택값이고 최대 2개까지 선택이 가능하므로 Position 배열[]로 관리했습니다! 따라서, 선택 로직도 구분지었어요.wantP
값이 필수라서 선택값이 없을 경우 무조건 ["ANY"]로 보내게 했고, 게시판 글 목록이나 게시글 상세 조회에서는 ["ANY"]로 받은 값 그대로 보여주고, 글 수정할 때는 아예 빈 값으로 넘겨서 ANY로 선택되는 것이 아닌 설정값이 없도록 화면에 보이게 했습니다! 매칭 쪽도 이렇게 수정 필요할 것 같아요.