Skip to content

Commit

Permalink
hotfix: 친구 추가 validation 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hyeseon-han committed Feb 24, 2024
1 parent 04ea3e1 commit 37c8c22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/templates/AddFriendTemplate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Expand Down Expand Up @@ -75,7 +75,7 @@ const AddFriendTemplate: React.FC = () => {
/>
</div>
{warningVisible ? (
<WarningLine text="9-10자리 초대 코드를 입력해주세요." />
<WarningLine text="8-10자리 초대 코드를 입력해주세요." />
) : null}
</>
}
Expand Down

0 comments on commit 37c8c22

Please sign in to comment.