feat: resend verification code button
This commit is contained in:
@ -4,6 +4,7 @@ import { FC } from "react";
|
||||
import { redirect } from "next/navigation";
|
||||
import { Button, PinInput, Stack } from "@mantine/core";
|
||||
import { useForm } from "@mantine/form";
|
||||
import ResendVerificationCode from "@/components/ResendVerificationCode/ResendVerificationCode";
|
||||
import style from "@/components/VerifyPhoneForm/VerifyPhone.module.css";
|
||||
|
||||
type VerifyNumberForm = {
|
||||
@ -48,6 +49,7 @@ const VerifyPhoneForm: FC = () => {
|
||||
disabled={form.values.code.length !== 6}>
|
||||
Подтвердить
|
||||
</Button>
|
||||
<ResendVerificationCode />
|
||||
<Button
|
||||
variant={"outline"}
|
||||
onClick={navigateToLogin}>
|
||||
|
||||
Reference in New Issue
Block a user