Skip to content

Commit

Permalink
refactor: 20자 이상 -> 0자 이상으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
leon-dunamu committed Sep 17, 2021
1 parent 0cff7ef commit 3ba5cd2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/views/Main/Feed/FeedInput/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,8 @@ const TextArea = ({ placeholder }) => {
<s.FButton
type={FeedbackButton.SUBMIT}
onClick={() => {
if (contentRef.current.value.length < 20) {
AndroidToast('20자 이상 적어주세요');
return;
}
if (contentRef.current.value.length === 0)
return AndroidToast('내용을 적어주세요');
handler.handleSubmit(contentRef.current.value);
}}
>
Expand Down

0 comments on commit 3ba5cd2

Please sign in to comment.