Skip to content

Commit

Permalink
Merge pull request #8 from leon-dunamu/feature/refactor-main-feedback
Browse files Browse the repository at this point in the history
refactor: 20์ž ์ด์ƒ -> 0์ž ์ด์ƒ์œผ๋กœ ๋ณ€๊ฒฝ
  • Loading branch information
leon-dunamu authored Sep 17, 2021
2 parents c257886 + 3ba5cd2 commit e9a9c90
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 e9a9c90

Please sign in to comment.