Skip to content

Commit

Permalink
refactor: isCardNumberValid 변경을 통한 카드번호 유효성 검사 에러 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
Klomachenko committed Apr 2, 2024
1 parent 26c0576 commit ba225fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/MainPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const MainPage = () => {
isCvcNumberValid &&
isDateValid &&
isPassWordValid &&
isPassWordValid
isCardNumberValid
) {
const newCard = { ...cardInfo, id: nextId };
setCardList((prevCardList) => [...prevCardList, newCard]);
Expand Down

0 comments on commit ba225fe

Please sign in to comment.