change button in forgot password

This commit is contained in:
Alihaghighattalab
2024-08-05 18:10:30 +03:30
parent a4e648363f
commit fb597b7d7d
@@ -5,6 +5,7 @@ import { ForgotPasswordInterface } from "../../types"
import { yupResolver } from "@hookform/resolvers/yup"
import { forgotPasswordSchema } from "../../schema"
import { ErrorComponent } from "../common/error"
import { Button } from "@headlessui/react"
export const ForgotPasswordForm = () => {
const {
@@ -36,7 +37,7 @@ export const ForgotPasswordForm = () => {
)} />
</div>
<div className="flex flex-col gap-y-[27px] items-center">
<button>دریافت کد تایید</button>
<Button type="submit">دریافت کد تایید</Button>
<Link to="/auth/login">
<p className="font-medium text-base text-primary-color">بازگشت</p>
</Link>