diff --git a/components/HeadFunction.tsx b/components/HeadFunction.tsx index 4f91c3e..47f07e3 100644 --- a/components/HeadFunction.tsx +++ b/components/HeadFunction.tsx @@ -24,9 +24,9 @@ export default function HeadFunction({
router.back() : null} > - + {leftIcon && }
{title}
diff --git a/pages/index.tsx b/pages/index.tsx index f729a02..3dac6e5 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -19,10 +19,6 @@ const Home: NextPage = () => { }); }; - //isAdmin - const isAdmin = useAtomValue(isAdminAtom); - console.log("atom: ", isAdmin); - return ( diff --git a/pages/mypage/index.tsx b/pages/mypage/index.tsx index 299810a..9a82402 100644 --- a/pages/mypage/index.tsx +++ b/pages/mypage/index.tsx @@ -37,7 +37,7 @@ const MyPage: NextPage = () => {
router.push("/mypage/setting")} + // onClick={() => router.push("/mypage/setting")} > 일반 설정
diff --git a/pages/mypage/password/index.tsx b/pages/mypage/password/index.tsx index 63cb278..8800af9 100644 --- a/pages/mypage/password/index.tsx +++ b/pages/mypage/password/index.tsx @@ -45,12 +45,10 @@ const Password: NextPage = () => { }; const checkNewPwError = () => { if (newPw.length === 0) { - console.log(1); setNewPwError({ status: false, text: "" }); return; } if (newPw === password) { - console.log(2); setNewPwError({ status: true, text: "기존 비밀번호와 동일합니다" }); return; } @@ -98,7 +96,7 @@ const Password: NextPage = () => { return (
- + { : "bg-main-color text-white" }`} onClick={changePassword} - text="새 비밀번호 저장" + text="변경하기" />
diff --git a/pages/mypage/quit.tsx b/pages/mypage/quit.tsx index 76fc17d..9e02cd7 100644 --- a/pages/mypage/quit.tsx +++ b/pages/mypage/quit.tsx @@ -40,13 +40,9 @@ const QuitAccount: NextPage = () => { errorText={pwError.text} />