feat: resend verification code button

This commit is contained in:
2025-07-24 11:26:21 +04:00
parent 27bb7c3ebc
commit 84f7869a37
6 changed files with 88 additions and 1 deletions

View File

@ -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}>