Skip to content

Commit

Permalink
chore :: 기업 로그인 방식 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
phyuna0525 authored Nov 4, 2024
2 parents 51c428c + a0baca4 commit 74eca8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 31 deletions.
29 changes: 0 additions & 29 deletions apps/company/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,35 +142,6 @@ export default function Home() {
인증
</Button>
</Flex>
{isVerified && (
<Controller
control={control}
name="auth_code"
rules={{
required: {
value: isVerified,
message: "필수 입력 항목입니다.",
},
minLength: {
value: 10,
message: "인증코드는 10자입니다.",
},
}}
render={({ field }) => (
<Input
{...field}
label="인증코드"
placeholder="인증 코드를 입력해주세요"
maxLength={10}
autoComplete="off"
onChange={(e: React.ChangeEvent<HTMLInputElement>) =>
field.onChange(e.target.value)
}
errorMessage={errors.auth_code?.message}
/>
)}
/>
)}
<Button
type="submit"
disabled={!isVerified}
Expand Down
4 changes: 2 additions & 2 deletions apps/company/src/app/recruitments/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,8 @@ export default function Recruitments({ params }: { params: { id: string } }) {
} else {
const [startTime, endTime] =
recruitmentDetail.working_hours.split(" ~ ");
setValue("start_time", startTime.slice(0, 5));
setValue("end_time", endTime.slice(0, 5));
setValue("start_time", startTime?.slice(0, 5));
setValue("end_time", endTime?.slice(0, 5));
}
}
}, [recruitmentDetail, setValue, params.id]);
Expand Down

0 comments on commit 74eca8d

Please sign in to comment.