-
Notifications
You must be signed in to change notification settings - Fork 2
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
fix: categoryName 필드 category 필드명으로 변경 #362
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
homepage-frontend/src/pages/petition-notice/edit/containers/PetitionNoticeEditorSection.tsx
Line 38 in 285c4e7
setInitialCategoryName(postDetailResDto.categoryName); |
이거 LocalStorage에 들어있다가 나온거여서 any네요. 한번 확인해보셔야 할 듯
@@ -190,7 +190,7 @@ export function PostPetitionDetailPostSection() { | |||
</div> | |||
</div> | |||
<div className="xs:hidden sm:hidden md:hidden"> | |||
<StateTag current={data?.data.postDetailResDto.categoryName || null} /> | |||
<StateTag current={data?.data.postDetailResDto.category || null} /> |
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.
아이고 다 고쳐주시다니 고생하셨습니다
48a8cc3
to
a299143
Compare
parsedContent 를 GetBoardDetailResponse 타입으로 단언했는데 이렇게 해결하면 괜찮을까요? |
src/pages/petition-notice/edit/containers/PetitionNoticeEditorSection.tsx
Outdated
Show resolved
Hide resolved
src/pages/petition-notice/edit/containers/PetitionNoticeEditorSection.tsx
Outdated
Show resolved
Hide resolved
src/pages/petition-notice/edit/containers/PetitionNoticeEditorSection.tsx
Outdated
Show resolved
Hide resolved
src/pages/petition-notice/edit/containers/PetitionNoticeEditorSection.tsx
Outdated
Show resolved
Hide resolved
…Section.tsx Co-authored-by: Hyomin Koo <[email protected]>
…Section.tsx Co-authored-by: Hyomin Koo <[email protected]>
…Section.tsx Co-authored-by: Hyomin Koo <[email protected]>
…Section.tsx Co-authored-by: Hyomin Koo <[email protected]>
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.
LGTM 👍 고생하셨습니다.
1️⃣ 작업 내용 Summary
기존 코드에 영향을 미치지 않는 변경사항
기존 코드에 영향을 미치는 변경사항
PostDetailResDto 타입 중 categoryName -> category 로 변경
PostPetitionDetailPostSection.tsx 타입 변경 적용
useAuditPatch.ts useLostPatch.ts usePartenership.ts 타입 변경 적용
버그 픽스
✚ 피그마
✚ 관련 문서
2️⃣ 리뷰어에게..
3️⃣ 추후 작업할 내용
4️⃣ 체크리스트
main
브랜치의 최신 코드를pull
받았나요?