-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat: 커피챗 오픈/수정 로직 구현 #1604
feat: 커피챗 오픈/수정 로직 구현 #1604
Conversation
|
🚀 프리뷰 배포 확인하기 🚀 |
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.
고생했어!!!
<ChipsWrapper {...field}> | ||
{chipList.map((chip) => ( | ||
<div | ||
key={chip} |
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.
꼼꼼한 key 설정 너무 좋아요
value={field.value ?? ''} | ||
placeholder='ex. 디자인 관련 고민이 있다면, 함께 나눠봐요!' | ||
maxLength={40} | ||
isError={!!errors.coffeeChatInfo?.bio} |
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.
여길 느낌표 2개로 구현해준 이유가 있을까요?!
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.
아하 이거 errors.coffeeChatInfo?.bio가 있으면 true, 없으면 false라는 의미로 쓰고 싶어서 boolean 타입이 되어지도록 !!을 붙여주었습니다!
onSuccess: async () => { | ||
// TODO: 쿼리 무효화 및 페이지 이동 처리 | ||
// queryClient.invalidateQueries({ queryKey: 'coffeechat' }); | ||
// await router.push(playgroundLink.coffeechat()); |
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.
여기 향후를 위한 코드 너무 좋은 것 같아유 배워갑니다
한 브랜치에 넘 많은 작업을 했습니다... 반성합니다.,,
🤫 쉿, 나한테만 말해줘요. 이슈넘버
🧐 어떤 것을 변경했어요~?
🤔 그렇다면, 어떻게 구현했어요~?
❤️🔥 당신이 생각하는 PR포인트, 내겐 매력포인트.
📸 스크린샷, 없으면 이것 참,, 섭섭한데요?