From 3d13a417346aa13bd5c6a6ee4013932d530eb4e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?hagjoon=28=EC=9D=B4=ED=95=99=EC=A4=80=29?= Date: Thu, 29 Sep 2022 18:41:13 +0900 Subject: [PATCH] =?UTF-8?q?=EC=95=BD=EA=B4=80=EB=8F=99=EC=9D=98=20-=20?= =?UTF-8?q?=EB=AA=A8=EB=91=90=20=EC=B2=B4=ED=81=AC=ED=95=B4=EC=95=BC=20?= =?UTF-8?q?=EB=8B=A4=EC=9D=8C=20step=20=EC=9C=BC=EB=A1=9C=20=EC=9D=B4?= =?UTF-8?q?=EB=8F=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/account/register/AccountRegisterTerm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/account/register/AccountRegisterTerm.js b/src/components/account/register/AccountRegisterTerm.js index 3687aa9..88fc1e8 100644 --- a/src/components/account/register/AccountRegisterTerm.js +++ b/src/components/account/register/AccountRegisterTerm.js @@ -79,7 +79,7 @@ export const AccountRegisterTerm = ({ stepper, type, movePage }) => { const handlerNext = () => { let agreeTerms = []; - if (!termChecked.privacy && !termChecked.service) { + if (!termChecked.privacy || !termChecked.service) { setOpenModal(true); return; }