From 5bcc58761e4423a2abfc479ae049b8f43f38de9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?sanguu=28=EB=B0=95=EC=83=81=ED=98=84=29?= Date: Wed, 19 Oct 2022 16:40:27 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B9=84=EB=B0=80=EB=B2=88=ED=98=B8=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD-input=20=EB=B9=84=ED=99=9C=EC=84=B1=ED=99=94?= =?UTF-8?q?=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/account/mypage/AccountMypagePwForm.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/account/mypage/AccountMypagePwForm.js b/src/components/account/mypage/AccountMypagePwForm.js index fad3cab4..cc5597f6 100644 --- a/src/components/account/mypage/AccountMypagePwForm.js +++ b/src/components/account/mypage/AccountMypagePwForm.js @@ -33,14 +33,17 @@ const AccountMypagePwForm = ({ activeTab }) => { if (result) { if (result.errorCode) { setresultOk(true) - } else + setbtnOk(false) + } else { setresultOk(false) - setbtnOk(true) + setbtnOk(true) + } } }, [result]) useEffect(() => { setresultOk(true) + setbtnOk(false) }, [activeTab])