-
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
Refactor/#555 프로젝트 동의를 구하는 모달을 confirmModal로 리팩터링 #556
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.
토스 슬래시 진유림님 영상 보고 우코가 한 말의 의도를 더 명확하게 이해하게 되었습니다!
좋은 인사이트 감사합니다~
고생했어용
|
||
await deleteMemberPart(); | ||
if (isConfirmed) { | ||
if (!hideMyPart) return; |
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.
마이파트 관련 긴급 수정 하면서 추가된 함수 props 이네용
💬 요거 if문 한 줄로 줄여지지 않나용?
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.
- isConfirmed : 유저 인터렉션을 통한 조건
- hideMyPart: optional 데이터 타입가드
이렇게 조건문의 맥락이 다르기 때문에 나눴어요.
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.
아항 오케이 굿입니다 ㅎ
📝작업 내용
프로젝트 동의를 구하는 모달을 confirmModal로 리팩터링했습니다.
💬리뷰 참고사항
#️⃣연관된 이슈
close #555