Repository navigation
[Feat] 미션 스팟 조회 지역 수도권 확장 - #45
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
📝작업 내용
기존 서울 지역으로 한정되어 있던 지도 미션 스팟 조회 범위를 서울·경기·인천으로 확장했습니다. (
regionCode를11로 고정하던 코드 제거)선택한 미션 스팟이 속한 지역에 따라 해당 지역의 통계가 표시되도록 변경했습니다.
지도 페이지 진입 시 종로구가 자동 선택되던 방식을 현재 위치 기반 주변 미션 스팟 조회 결과의 첫 번째 스팟이 선택되도록 변경했습니다.
💬참고사항
추후 서울·경기·인천 외 다른 지역이 추가된다면,
src/hooks/queries/missionSpots/useMissionSpotsQuery.ts의REGION_CODES배열에 해당 지역 코드를 추가하면 됩니다.