import type { BlitzPage, GetServerSideProps } from "blitz"; import { useRouterQuery, Link, useMutation, Routes } 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 { ResetPassword } from "../validations"; import resetPassword from "../../auth/mutations/reset-password"; const ResetPasswordPage: BlitzPage = () => { const query = useRouterQuery(); const [resetPasswordMutation, { isSuccess }] = useMutation(resetPassword); return (
); }; ResetPasswordPage.redirectAuthenticatedTo = Routes.Messages(); ResetPasswordPage.getLayout = (page) =>