-
Notifications
You must be signed in to change notification settings - Fork 1
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
너소서 폼 작성 부분 #87
너소서 폼 작성 부분 #87
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.
고생했오~~~ 💋
울 웹쁜이 고생많았어 ! 여기서 미리보기로 보면서 쉬어~ 다른 웹쁜이들한테도 자랑해줘~ |
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.
고생많았어!!!!!!!! 서진코드 머지하고 또 분석할생각에 설레,,
혹시 버튼에 disabled 넣어줄수있는지,,, !!! 넣어주면 좋을것같아 ㅎ-ㅎ
}; | ||
|
||
const postFormAnswer = async (body: NeososeoAnswerData) => { | ||
console.log(body); |
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.
console.log 발견 히히
<StNeososeoFormHeader> | ||
<div>{title}</div> | ||
<div> | ||
<img src={image} alt={title} /> | ||
</div> | ||
</StNeososeoFormHeader> |
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.
이코드 제가 짠코드 과감히 버리고 재사용해도될까요 ?
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.
setNeososeoAnswer((prev) => ({ ...prev, keyword: keywordList.map((k) => k.id) })); | ||
}, [keywordList]); | ||
|
||
if (!neososeoFormData) 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.
요건 무슨 코드이징?.? (진짜몰라서 물어보는거..)
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.
너소서 폼데이터를 API로 받아올 때 없으면 아무것도 안 렌더링되게 일단 해둔 것!!!
<ImmutableKeywordList keywordList={keywordList} onItemClick={() => null} /> | ||
</StKeywordListWrapper> | ||
</div> | ||
<StButton onClick={postNeososeoForm}>답변 작성하기</StButton> |
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.
필수값이 빈값이면 버튼 disalbed하는거 넣어주는건 어떨까!!
<div> | ||
<div>{neososeoFormData.content}</div> | ||
</div> | ||
<StButton onClick={() => navigate('intro')}>답변 작성하기</StButton> |
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.
여기도!! 필수값 빈값이면 disalbed해주기
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.
얍얍!! 넣어주겠읍니다~!!!!
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.
넣어주었습니다~!
<span>Q.</span> | ||
<span>{neososeoFormData.content}</span> |
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.
나는 <p>Q.<p
> 이랬는데 <span>
태그로 바꿀까?
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.
옹 p는 넓은 친구고 span은 좁을 수도 있는 친구라 span이 조을 것 같아..!!
울 웹쁜이 고생많았어 ! 여기서 미리보기로 보면서 쉬어~ 다른 웹쁜이들한테도 자랑해줘~ |
울 웹쁜이 고생많았어 ! 여기서 미리보기로 보면서 쉬어~ 다른 웹쁜이들한테도 자랑해줘~ |
⛓ Related Issues
📋 작업 내용
📌 PR Point
👀 스크린샷 / GIF / 링크