File tree Expand file tree Collapse file tree 4 files changed +18
-57
lines changed
Expand file tree Collapse file tree 4 files changed +18
-57
lines changed Original file line number Diff line number Diff line change 1+ import { ForgotPasswordForm } from "@/components/features/forgot-password/forgot-password-form" ;
2+
3+ export default function ForgotPasswordPage ( ) {
4+ return (
5+ < main >
6+ < section >
7+ < h2 > Reset your password</ h2 >
8+ < p >
9+ Enter the email you used for registration and { "we'll" } send you a one
10+ time code to reset your password.
11+ </ p >
12+ < ForgotPasswordForm />
13+ </ section >
14+ </ main >
15+ ) ;
16+ }
Original file line number Diff line number Diff line change @@ -17,13 +17,7 @@ import {
1717import { Input } from "@/components/ui/input" ;
1818import { ForgotPasswordFormSchema } from "@/lib/zod" ;
1919
20- interface ForgotPasswordFormProps {
21- closeDialog : ( ) => void ;
22- }
23-
24- export const ForgotPasswordForm = ( {
25- closeDialog,
26- } : ForgotPasswordFormProps ) => {
20+ export const ForgotPasswordForm = ( ) => {
2721 const form = useForm < z . infer < typeof ForgotPasswordFormSchema > > ( {
2822 resolver : zodResolver ( ForgotPasswordFormSchema ) ,
2923 defaultValues : {
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ export const LoginForm = () => {
173173 </ label >
174174 </ div >
175175 < Link
176- href = "/reset -password"
176+ href = "/forgot -password"
177177 className = "text-sm text-white hover:text-[#FF7A50] leading-none"
178178 style = { { fontFamily : "var(--font-manrope)" } }
179179 >
You can’t perform that action at this time.
0 commit comments