Skip to content

Commit 96bf61c

Browse files
committed
chore: 코드 순서 변경
1 parent fe9f635 commit 96bf61c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/page/login/password/auth/PasswordAuthPage.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ const PasswordAuthPage = () => {
2424

2525
const { value: email, onChange: onEmailChange } = useInput('');
2626
const { value: authCode, onChange: onAuthCodeChange } = useInput('');
27+
const { emailSupportingText, setEmailSupportingText, codeSupportingText, setCodeSupportingText } =
28+
useSupportingText();
2729

2830
const {
2931
remainTime,
@@ -33,12 +35,8 @@ const PasswordAuthPage = () => {
3335
} = useTimer(EMAIL_REMAIN_TIME, SUPPORTING_TEXT.EMAIL_EXPIRED);
3436

3537
const { resendMailMutation } = useResendMailMutation(email);
36-
3738
const { mutate, isError } = useVerifyCodeMutation(email, authCode);
3839

39-
const { emailSupportingText, setEmailSupportingText, codeSupportingText, setCodeSupportingText } =
40-
useSupportingText();
41-
4240
const handleMailSend = () => {
4341
resendMailMutation.mutate(undefined, {
4442
onError: () => {

0 commit comments

Comments
 (0)