change button in forgot password
This commit is contained in:
@@ -5,6 +5,7 @@ import { ForgotPasswordInterface } from "../../types"
|
|||||||
import { yupResolver } from "@hookform/resolvers/yup"
|
import { yupResolver } from "@hookform/resolvers/yup"
|
||||||
import { forgotPasswordSchema } from "../../schema"
|
import { forgotPasswordSchema } from "../../schema"
|
||||||
import { ErrorComponent } from "../common/error"
|
import { ErrorComponent } from "../common/error"
|
||||||
|
import { Button } from "@headlessui/react"
|
||||||
|
|
||||||
export const ForgotPasswordForm = () => {
|
export const ForgotPasswordForm = () => {
|
||||||
const {
|
const {
|
||||||
@@ -36,7 +37,7 @@ export const ForgotPasswordForm = () => {
|
|||||||
)} />
|
)} />
|
||||||
</div>
|
</div>
|
||||||
<div className="flex flex-col gap-y-[27px] items-center">
|
<div className="flex flex-col gap-y-[27px] items-center">
|
||||||
<button>دریافت کد تایید</button>
|
<Button type="submit">دریافت کد تایید</Button>
|
||||||
<Link to="/auth/login">
|
<Link to="/auth/login">
|
||||||
<p className="font-medium text-base text-primary-color">بازگشت</p>
|
<p className="font-medium text-base text-primary-color">بازگشت</p>
|
||||||
</Link>
|
</Link>
|
||||||
|
|||||||
Reference in New Issue
Block a user