From ba225fe216e646217008dee4e61e99451c038f88 Mon Sep 17 00:00:00 2001 From: Klomachenko Date: Tue, 2 Apr 2024 21:29:27 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20isCardNumberValid=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD=EC=9D=84=20=ED=86=B5=ED=95=9C=20=EC=B9=B4=EB=93=9C?= =?UTF-8?q?=EB=B2=88=ED=98=B8=20=EC=9C=A0=ED=9A=A8=EC=84=B1=20=EA=B2=80?= =?UTF-8?q?=EC=82=AC=20=EC=97=90=EB=9F=AC=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/MainPage.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/MainPage.jsx b/src/pages/MainPage.jsx index 1771c5d..c3fb5d4 100644 --- a/src/pages/MainPage.jsx +++ b/src/pages/MainPage.jsx @@ -39,7 +39,7 @@ const MainPage = () => { isCvcNumberValid && isDateValid && isPassWordValid && - isPassWordValid + isCardNumberValid ) { const newCard = { ...cardInfo, id: nextId }; setCardList((prevCardList) => [...prevCardList, newCard]);