import type { BlitzPage } from "blitz"; import { Routes, useMutation } from "blitz"; import BaseLayout from "../../core/layouts/base-layout"; import { AuthForm as Form, FORM_ERROR } from "../components/auth-form"; import { LabeledTextField } from "../components/labeled-text-field"; import { ForgotPassword } from "../validations"; import forgotPassword from "../../auth/mutations/forgot-password"; const ForgotPasswordPage: BlitzPage = () => { const [forgotPasswordMutation, { isSuccess }] = useMutation(forgotPassword); return (
); }; ForgotPasswordPage.redirectAuthenticatedTo = Routes.Messages(); ForgotPasswordPage.getLayout = (page) =>