import type { BlitzPage } from "blitz"; import { useRouter, Routes, useMutation, Link } 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 signup from "../mutations/signup"; import { Signup } from "../validations"; const SignUp: BlitzPage = () => { const router = useRouter(); const [signupMutation] = useMutation(signup); return (
); }; SignUp.redirectAuthenticatedTo = Routes.StepOne(); SignUp.getLayout = (page) =>