From 77f90fa5a4cdd2e2a9ef831b817a5d5ec9c8ee47 Mon Sep 17 00:00:00 2001 From: hyeseon han Date: Sat, 2 Mar 2024 15:27:54 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=B9=9C=EA=B5=AC=20=EC=B6=94=EA=B0=80?= =?UTF-8?q?=20validate=20check=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/templates/AddFriendTemplate.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/templates/AddFriendTemplate.tsx b/src/components/templates/AddFriendTemplate.tsx index 6ccd3cc..949008a 100644 --- a/src/components/templates/AddFriendTemplate.tsx +++ b/src/components/templates/AddFriendTemplate.tsx @@ -29,7 +29,7 @@ const AddFriendTemplate: React.FC = () => { }; const onAddFriend = () => { - if (friendInviteCode.length < 9) { + if (friendInviteCode.length < 8) { setWarningVisible(true); } else { addFriendship.mutate({ inviteCode: friendInviteCode }); @@ -67,7 +67,7 @@ const AddFriendTemplate: React.FC = () => { /> - {warningVisible ? : null} + {warningVisible ? : null} } />