Repository navigation
fix: [TA-249] activeRegions 타입 불일치 — Location은 객체를 넣는데 string[]로 선언/전송 - #142
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
seorinn
marked this pull request as ready for review
June 30, 2026 02:42
seorinn
added a commit
that referenced
this pull request
Sep 20, 2026
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.
변경 사항
activeRegions의 선언을 실제 런타임 값인
Region({category,name})[]로 통일. 동작·전송 포맷 변화 없음(선언만 정정).Location: Propslocs/setLocs를Region[]로(기존any[]/string[]제거), 내부 map any 정리useEventForm:activeRegions상태Region[]+ 편집 복원 nullish 가드PromotionBody.activeRegions,PhotographerRegistrationBody/ModifyPhotographerProfileBody.activeRegions→Region[]EditPhotographerProfile,SignUp/MoreInfo,SignUp: 상태/시그니처를Region[]로 정합배경
Location은
{category,name}객체를 push/전송하는데 선언은string[]였고,Location.locs: any[]가 불일치를 가렸음. 서버 응답(PromotionDetail/PhotographerDetail)도 Region[]이라 객체가 단일 소스.검증
Closes TA-249