From 19c2ccc22f0e9206d06e681948ebdedd86f6dec8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=EC=9E=84=EC=B1=84=EB=AF=BC?=
<87525734+cmlim0070@users.noreply.github.com>
Date: Mon, 9 Dec 2024 20:28:33 +0900
Subject: [PATCH] =?UTF-8?q?chore=20:=20=EB=B2=84=ED=8A=BC,=20=EC=8A=A4?=
=?UTF-8?q?=ED=83=80=EC=9D=BC,=20=EB=A7=81=ED=81=AC=20=EA=B4=80=EB=A0=A8?=
=?UTF-8?q?=20=EC=88=98=EC=A0=95=20(#402)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* chore : 사용하지 않는 버튼 제거
* feat : 로딩 상태 버튼 추가
* chore : 회원가입 파트 누락된 링크 추가
---
src/components/RegisterPage/EmailSection.tsx | 62 ++++++++++++++++++-
.../RegisterPage/NicknameSection.tsx | 2 +-
src/hooks/useRegisterForm.tsx | 12 +++-
src/pages/User/Login/LoginPage.tsx | 7 +--
src/pages/User/Register/RegisterPage.tsx | 17 ++---
5 files changed, 77 insertions(+), 23 deletions(-)
diff --git a/src/components/RegisterPage/EmailSection.tsx b/src/components/RegisterPage/EmailSection.tsx
index 78aaaa2d..44da2216 100644
--- a/src/components/RegisterPage/EmailSection.tsx
+++ b/src/components/RegisterPage/EmailSection.tsx
@@ -1,3 +1,4 @@
+import { useEffect } from 'react';
import { EmailInput } from '../Common/Input/EmailInput';
import { VerifyEmailInput } from '../Common/Input/VerifyEmailInput';
@@ -9,6 +10,7 @@ interface EmailSectionProps {
onRequestAuthNumVerify: () => void;
isEmailSend: boolean;
isEmailVerified: boolean;
+ isVerifyLoading: boolean;
}
export const EmailSection = ({
@@ -18,8 +20,12 @@ export const EmailSection = ({
onRequestVerify,
onRequestAuthNumVerify,
isEmailSend,
- isEmailVerified
+ isEmailVerified,
+ isVerifyLoading
}: EmailSectionProps) => {
+ useEffect(() => {
+ console.log(isVerifyLoading);
+ }, [isVerifyLoading]);
return (
@@ -34,9 +40,59 @@ export const EmailSection = ({
@@ -50,7 +106,7 @@ export const EmailSection = ({