Skip to content

Commit c378146

Browse files
authored
feat: 인증번호를 받지 못하셨나요 버튼에 새탭으로 FAQ 페이지 apply-5 아코디언이 열리도록 수정합니다 (#338)
* feat: 인증번호를 받지 못하셨나요 버튼에 새탭으로 FAQ 페이지 apply-5 아코디언이 열리도록 수정합니다 * fix: 빌드 에러를 해결합니다
1 parent e9cc038 commit c378146

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

apps/web/src/features/shared/components/AuthCodeForm.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { BlockButton, LabelButton, TextField, toastController } from "@ject/jds"
22
import type { FormEventHandler } from "react";
33
import { useState } from "react";
44
import { Controller } from "react-hook-form";
5-
import { useNavigate, useParams } from "react-router-dom";
65

76
import { PATH } from "@/constants/path";
87
import {
@@ -33,9 +32,6 @@ export function AuthCodeForm({
3332
onVerified,
3433
onExistingMember,
3534
}: AuthCodeFormProps) {
36-
const navigate = useNavigate();
37-
const { jobFamily } = useParams<{ jobFamily: string }>();
38-
3935
const [hasSentCode, setHasSentCode] = useState(false);
4036
const [emailErrorMessage, setEmailErrorMessage] = useState<string | null>(null);
4137
const [authCode, setAuthCode] = useState("");
@@ -167,9 +163,7 @@ export function AuthCodeForm({
167163
hierarchy='secondary'
168164
suffixIcon='arrow-right-s-line'
169165
onClick={() => {
170-
if (jobFamily) {
171-
void navigate(`${PATH.applyGuide}/${jobFamily}?tab=faq&faq=faq-5`);
172-
}
166+
window.open(`${PATH.faq}/1/apply-5`, "_blank");
173167
}}
174168
>
175169
인증번호를 받지 못하셨나요?

0 commit comments

Comments
 (0)