Skip to content

Commit

Permalink
🐛 fix: api 명세에 맞게 속성 변경 #77
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMirror21 committed Oct 31, 2024
1 parent 9d0d21e commit 9bee02b
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ const EmployerPartTimePermitForm = ({
);
// 세 부분으로 나누어 입력받는 방식을 위해 전화번호만 별도의 state로 분리, 추후 유효성 검사 단에서 통합
const [phoneNum, setPhoneNum] = useState({
start: newDocumentData.company_registration_number
? parsePhoneNumber(newDocumentData.company_registration_number).start
start: newDocumentData.phone_number
? parsePhoneNumber(newDocumentData.phone_number).start
: '',
middle: newDocumentData.company_registration_number
? parsePhoneNumber(newDocumentData.company_registration_number).middle
middle: newDocumentData.phone_number
? parsePhoneNumber(newDocumentData.phone_number).middle
: '',
end: newDocumentData.company_registration_number
? parsePhoneNumber(newDocumentData.company_registration_number).end
end: newDocumentData.phone_number
? parsePhoneNumber(newDocumentData.phone_number).end
: '',
});
// 주소 검색용 input 저장하는 state
Expand Down

0 comments on commit 9bee02b

Please sign in to comment.