Skip to content
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

Merged
merged 5 commits into from
Dec 11, 2024

Conversation

dvp-tae
Copy link
Contributor

@dvp-tae dvp-tae commented Dec 10, 2024

1️⃣ 작업 내용 Summary

기존 코드에 영향을 미치지 않는 변경사항

기존 코드에 영향을 미치는 변경사항

PostDetailResDto 타입 중 categoryName -> category 로 변경
PostPetitionDetailPostSection.tsx 타입 변경 적용
useAuditPatch.ts useLostPatch.ts usePartenership.ts 타입 변경 적용

버그 픽스

✚ 피그마

✚ 관련 문서

2️⃣ 리뷰어에게..

3️⃣ 추후 작업할 내용

4️⃣ 체크리스트

  • main 브랜치의 최신 코드를 pull 받았나요?

@dvp-tae dvp-tae self-assigned this Dec 10, 2024
@dvp-tae dvp-tae linked an issue Dec 10, 2024 that may be closed by this pull request
3 tasks
Copy link

vercel bot commented Dec 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
dev-homepage-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 11, 2024 2:48am

Copy link
Contributor

@EATSTEAK EATSTEAK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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} />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

아이고 다 고쳐주시다니 고생하셨습니다

@dvp-tae dvp-tae force-pushed the fix/#361_change-categoryName branch from 48a8cc3 to a299143 Compare December 10, 2024 13:36
@dvp-tae
Copy link
Contributor Author

dvp-tae commented Dec 10, 2024

setInitialCategoryName(postDetailResDto.categoryName);

이거 LocalStorage에 들어있다가 나온거여서 any네요. 한번 확인해보셔야 할 듯

parsedContent 를 GetBoardDetailResponse 타입으로 단언했는데 이렇게 해결하면 괜찮을까요?

Copy link
Contributor

@EATSTEAK EATSTEAK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 고생하셨습니다.

@dvp-tae dvp-tae merged commit b8a6ef4 into develop Dec 11, 2024
2 checks passed
@dvp-tae dvp-tae deleted the fix/#361_change-categoryName branch December 11, 2024 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fix: 청원게시판 categoryName 필드명 변경사항 적용
3 participants