Skip to content

Commit

Permalink
chore :: 주석 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
eejx0 committed Nov 7, 2024
1 parent 42fb18c commit 31913f3
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions apps/company/src/app/registration/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -586,32 +586,6 @@ export default function Registration() {
errorMessage={errors.manager_name?.message}
/>
</InputTemplate>
{/* <InputTemplate key="manager_phone_no" title="전화번호" required>
<Controller
control={control}
name="manager_phone_no"
rules={{
required: "필수 입력 항목입니다.",
pattern: {
value: /^\d{2,3}-\d{3,4}-\d{4}$/,
message: "유효한 전화번호 형식이 아닙니다.",
},
}}
render={({ field }) => (
<Input
{...field}
type="tel"
width={223}
placeholder="nnn-nnnn-nnnn"
maxLength={13}
onChange={e =>
field.onChange(regex.phone_number(e.target.value))
}
errorMessage={errors.manager_phone_no?.message}
/>
)}
/>
</InputTemplate> */}
<InputTemplate key="manager_phone_no" title="전화번호" required>
<Controller
control={control}
Expand Down

0 comments on commit 31913f3

Please sign in to comment.