Skip to content

Commit

Permalink
Merge pull request #63 from team-Ollie/main
Browse files Browse the repository at this point in the history
[redeploy] 회원가입 불가 조건 추가
  • Loading branch information
leejin-rho authored Jul 4, 2024
2 parents dd80152 + 089df4d commit e5ab713
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion pages/signup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,18 @@ const SignUp: NextPage = () => {
<button type="submit" className="w-[20rem] absolute bottom-[3.75rem]">
<Button
text="회원가입"
style="bg-main-100 py-[0.6rem] text-grey-700"
style="bg-main-100 py-[0.6rem] text-grey-700 disabled:bg-grey-300 disabled:text-grey-500"
onClick={() => {}}
disabled={
tempId.length === 0 ||
idError.status ||
userInfo.loginId.length === 0 ||
userInfo.password.length === 0 ||
tempName.length === 0 ||
nameError.status ||
userInfo.nickname.length === 0 ||
userInfo.identifier.length < 6
}
/>
</button>
</form>
Expand Down

0 comments on commit e5ab713

Please sign in to comment.