From cafca2edc6e33a364f643d290e079ff06658a6a9 Mon Sep 17 00:00:00 2001 From: JAEMOON Date: Wed, 22 Nov 2023 22:23:33 +0900 Subject: [PATCH] =?UTF-8?q?[feat]=20=EB=B9=84=EB=B0=80=EB=B2=88=ED=98=B8?= =?UTF-8?q?=20=EC=9E=AC=EC=84=A4=EC=A0=95=20=EC=9A=B0=EC=84=A0=20=EC=BB=A4?= =?UTF-8?q?=EB=B0=8B!!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/resetPassword/step1.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pages/resetPassword/step1.tsx b/pages/resetPassword/step1.tsx index b2427c3..fccbdb6 100644 --- a/pages/resetPassword/step1.tsx +++ b/pages/resetPassword/step1.tsx @@ -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'; @@ -33,6 +34,11 @@ export default function step1() { } }; + const handleResendLink = () => { + setAuthEmail(false); + fnAuthEmail(); + }; + return (
@@ -71,6 +77,7 @@ export default function step1() { buttonType="default" buttonName="Resend link" hasCloseButton + handleClose={handleResendLink} overlayClose /> )}