dm_new: 우편번호 추가

This commit is contained in:
2026-02-25 18:15:25 +09:00
parent 5e1a5c68c8
commit b6ca669c2e
8 changed files with 538 additions and 249 deletions
+3 -3
View File
@@ -64,8 +64,8 @@ export default function LoginModal({ open, onClose, onSuccess }: LoginModalProps
}, [open, onClose]);
useEffect(() => {
if (noWorker) {
setWorkerNo("");
if (noWorker) { // 종사업자번호 해당없음
setWorkerNo(""); // 종사업자번호
setErrors((p) => {
const nextErrors = { ...p };
delete nextErrors.workerNo;
@@ -127,7 +127,7 @@ export default function LoginModal({ open, onClose, onSuccess }: LoginModalProps
markAllTouched();
const v = validate();
if (Object.keys(v).length) return;
if (Object.keys(v).length) return; //검증 에러가 하나라도 있으면 로그인 요청을 중단
try {
setSubmitting(true);