From 37c8c2291fd77f8f6e6ca58a1a9ad897c8372543 Mon Sep 17 00:00:00 2001 From: hyeseon han Date: Sat, 24 Feb 2024 11:59:02 +0900 Subject: [PATCH] =?UTF-8?q?hotfix:=20=EC=B9=9C=EA=B5=AC=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80=20validation=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 d4466fc..fb3d71f 100644 --- a/src/components/templates/AddFriendTemplate.tsx +++ b/src/components/templates/AddFriendTemplate.tsx @@ -32,7 +32,7 @@ const AddFriendTemplate: React.FC = () => { }; const onAddFriend = () => { - if (friendInviteCode.length < 9) { + if (friendInviteCode.length < 8) { setWarningVisible(true); } else { addFriendship.mutate({ inviteCode: friendInviteCode }); @@ -75,7 +75,7 @@ const AddFriendTemplate: React.FC = () => { /> {warningVisible ? ( - + ) : null} }