From 47260812785e0d75a528ef7e6439f6ba7968ef2e Mon Sep 17 00:00:00 2001 From: leejin_rho Date: Thu, 4 Jul 2024 10:15:09 +0900 Subject: [PATCH 1/3] =?UTF-8?q?#16=20feat:=20validation=ED=95=98=EC=A7=80?= =?UTF-8?q?=20=EC=95=8A=EC=9C=BC=EB=A9=B4=20=ED=9A=8C=EC=9B=90=EA=B0=80?= =?UTF-8?q?=EC=9E=85=20=EB=B6=88=EA=B0=80=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/signup.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pages/signup.tsx b/pages/signup.tsx index 6ec49c3..700b80c 100644 --- a/pages/signup.tsx +++ b/pages/signup.tsx @@ -255,6 +255,14 @@ const SignUp: NextPage = () => { text="회원가입" style="bg-main-100 py-[0.6rem] text-grey-700" onClick={() => {}} + disabled={ + tempId.length === 0 || + idError.status || + userInfo.loginId.length === 0 || + tempName.length === 0 || + nameError.status || + userInfo.nickname.length === 0 + } /> From f8406195894c63a8ff501eaeb0815dc223330d0b Mon Sep 17 00:00:00 2001 From: leejin_rho Date: Thu, 4 Jul 2024 10:17:30 +0900 Subject: [PATCH 2/3] =?UTF-8?q?#16=20feat:=20validation=ED=95=98=EC=A7=80?= =?UTF-8?q?=20=EC=95=8A=EC=9C=BC=EB=A9=B4=20=ED=9A=8C=EC=9B=90=EA=B0=80?= =?UTF-8?q?=EC=9E=85=20=EB=B6=88=EA=B0=80=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/signup.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pages/signup.tsx b/pages/signup.tsx index 700b80c..4ef3101 100644 --- a/pages/signup.tsx +++ b/pages/signup.tsx @@ -253,15 +253,17 @@ const SignUp: NextPage = () => { From 113edc3776483addb6cc4f391508661d5179fe4c Mon Sep 17 00:00:00 2001 From: leejin_rho Date: Thu, 4 Jul 2024 10:18:37 +0900 Subject: [PATCH 3/3] =?UTF-8?q?#16=20feat:=20=EC=8B=9D=EB=B3=84=EB=B2=88?= =?UTF-8?q?=ED=98=B8=20=EA=B8=B8=EC=9D=B4=EA=B0=80=205=20=EB=84=98?= =?UTF-8?q?=EC=A7=80=20=EC=95=8A=EC=9C=BC=EB=A9=B4=20=ED=9A=8C=EC=9B=90?= =?UTF-8?q?=EA=B0=80=EC=9E=85=20=EB=B6=88=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/signup.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/signup.tsx b/pages/signup.tsx index 4ef3101..214a5f7 100644 --- a/pages/signup.tsx +++ b/pages/signup.tsx @@ -263,7 +263,7 @@ const SignUp: NextPage = () => { tempName.length === 0 || nameError.status || userInfo.nickname.length === 0 || - userInfo.identifier.length >= 6 + userInfo.identifier.length < 6 } />