Skip to content

Commit

Permalink
Merge pull request #62 from team-Ollie/17-feature-Signup-API
Browse files Browse the repository at this point in the history
[feature] signup disabled
  • Loading branch information
leejin-rho authored Jul 4, 2024
2 parents c48ad8a + 113edc3 commit 089df4d
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 089df4d

Please sign in to comment.