From 3ba5cd246a67e99173e565ffb4cba42dc856d9ee Mon Sep 17 00:00:00 2001 From: Leon Date: Fri, 17 Sep 2021 22:05:46 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=2020=EC=9E=90=20=EC=9D=B4=EC=83=81=20?= =?UTF-8?q?->=200=EC=9E=90=20=EC=9D=B4=EC=83=81=EC=9C=BC=EB=A1=9C=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Main/Feed/FeedInput/index.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/views/Main/Feed/FeedInput/index.tsx b/src/views/Main/Feed/FeedInput/index.tsx index b17bec1..d1de919 100644 --- a/src/views/Main/Feed/FeedInput/index.tsx +++ b/src/views/Main/Feed/FeedInput/index.tsx @@ -53,10 +53,8 @@ const TextArea = ({ placeholder }) => { { - if (contentRef.current.value.length < 20) { - AndroidToast('20자 이상 적어주세요'); - return; - } + if (contentRef.current.value.length === 0) + return AndroidToast('내용을 적어주세요'); handler.handleSubmit(contentRef.current.value); }} >