diff --git a/app/[locale]/auth/page.tsx b/app/[locale]/auth/page.tsx index c5586d72..706c5d9f 100644 --- a/app/[locale]/auth/page.tsx +++ b/app/[locale]/auth/page.tsx @@ -75,7 +75,8 @@ const AuthPage = ({ params: { locale } }: { params: { locale: string } }) => { toast.error(error); }; - const handleOTPResend = () => { + const handleOTPResend = async () => { + const result = await validateEmail(loginCredentials as LoginFormData); toast.info("OTP resent successfully"); }; diff --git a/components/auth/otp-form.tsx b/components/auth/otp-form.tsx index 5adcd047..d3e508cd 100644 --- a/components/auth/otp-form.tsx +++ b/components/auth/otp-form.tsx @@ -67,9 +67,9 @@ export const OTPForm: React.FC = ({ } }; - const handleResend = () => { - onResend?.(); - }; + // const handleResend = () => { + // onResend?.(); + // }; return (
@@ -138,7 +138,7 @@ export const OTPForm: React.FC = ({