Skip to content

Commit

Permalink
[feat] 비밀번호 재설정 우선 커밋!!
Browse files Browse the repository at this point in the history
  • Loading branch information
KinDDoGGang committed Nov 22, 2023
1 parent 4e33dd1 commit cafca2e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pages/resetPassword/step1.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable react-hooks/rules-of-hooks */
import React, { useState } from 'react';
import ResetPasswordLayout from '@/components/layouts/ResetPasswordLayout.tsx';
import { Link, Stepper, Button, ModalBox, Input, Space, Typography } from '@/components/index.tsx';
Expand Down Expand Up @@ -33,6 +34,11 @@ export default function step1() {
}
};

const handleResendLink = () => {
setAuthEmail(false);
fnAuthEmail();
};

return (
<div className="font-pretendard w-full">
<div className="relative w-full h-[60px]">
Expand Down Expand Up @@ -71,6 +77,7 @@ export default function step1() {
buttonType="default"
buttonName="Resend link"
hasCloseButton
handleClose={handleResendLink}
overlayClose
/>
)}
Expand Down

0 comments on commit cafca2e

Please sign in to comment.