From 0b8bb4cead445761f5e35f8292d0d075790e7e7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9D=B4=EC=84=B8=EB=AF=BC?= <89172499+semnil5202@users.noreply.github.com> Date: Thu, 16 May 2024 04:24:20 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EA=B0=9C=EB=B0=9C=EA=B3=BC=EC=A0=95?= =?UTF-8?q?=EC=97=90=EC=84=9C=20=EB=B0=9C=EC=83=9D=ED=95=9C=20=EB=B6=88?= =?UTF-8?q?=ED=95=84=EC=9A=94=ED=95=9C=20console=20=EC=9D=BC=EA=B4=84=20?= =?UTF-8?q?=EC=A0=9C=EA=B1=B0=20(#159)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Login/OauthRedirect.tsx | 2 -- src/pages/SignUp/hooks/useCheckDuplicateNickname.ts | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/pages/Login/OauthRedirect.tsx b/src/pages/Login/OauthRedirect.tsx index 18c0c39d..cd32a97b 100644 --- a/src/pages/Login/OauthRedirect.tsx +++ b/src/pages/Login/OauthRedirect.tsx @@ -13,8 +13,6 @@ const OauthRedirect = ({ serverName }: Props) => { const searchParams = new URLSearchParams(location.search); const code = searchParams.get('code'); - console.log(code); - const getCode = useCallback( async (code: string | null) => { if (!code) throw new Error('OAUTH CODE ERROR'); diff --git a/src/pages/SignUp/hooks/useCheckDuplicateNickname.ts b/src/pages/SignUp/hooks/useCheckDuplicateNickname.ts index 4f6d9556..8da01ff6 100644 --- a/src/pages/SignUp/hooks/useCheckDuplicateNickname.ts +++ b/src/pages/SignUp/hooks/useCheckDuplicateNickname.ts @@ -14,8 +14,6 @@ const useCheckDuplicateNickname = ({ nickname, setFieldErrorValue }: Props) => { const userNickname = getUserNickname(); const timerId = useRef(null); - console.log(userNickname); - useEffect(() => { if (nickname.length < 2 || NICKNAME_REG_EXP.test(nickname)) { return;