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}
>
}