{field === 'email' && - !validate('email', inputValue) && - inputValue !== '' + inputValue !== '' && + !validate('email', inputValue) ? (errorMessage = '잘못된 이메일입니다') : field === 'nickname' && !validate('nickname', inputValue) && diff --git a/src/pages/onboarding/OnbardingPage.tsx b/src/pages/onboarding/OnbardingPage.tsx index f149992a..b9bda34d 100644 --- a/src/pages/onboarding/OnbardingPage.tsx +++ b/src/pages/onboarding/OnbardingPage.tsx @@ -181,7 +181,6 @@ const Onboarding = () => { : 'Round-blue-500' } onClick={() => { - // 아무것도 입력을 하지 않았을 때! if ( inputRef.current?.value === '' || selectRef.current?.value === '' From e1c34ca7e9eaa831a062aae1b1ed130f611314bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=8B=A0=EC=84=9C=EB=A6=AC=ED=8B=B0=EC=BD=94=EB=8D=94?= <85999976+jisung24@users.noreply.github.com> Date: Sat, 2 Dec 2023 19:48:38 +0900 Subject: [PATCH 3/3] =?UTF-8?q?fix:=20=EB=B2=84=ED=8A=BC=20div=EC=9C=84?= =?UTF-8?q?=EC=B9=98=20absolute=EB=8C=80=EC=8B=A0=20spacing=EC=BB=B4?= =?UTF-8?q?=ED=8F=AC=EB=84=8C=ED=8A=B8=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/onboarding/OnbardingPage.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/onboarding/OnbardingPage.tsx b/src/pages/onboarding/OnbardingPage.tsx index b9bda34d..3ab0dc23 100644 --- a/src/pages/onboarding/OnbardingPage.tsx +++ b/src/pages/onboarding/OnbardingPage.tsx @@ -161,7 +161,8 @@ const Onboarding = () => {