import { useMutation } from "blitz" import { LabeledTextField } from "../../core/components/labeled-text-field" import { Form, FORM_ERROR } from "../../core/components/form" import signup from "../../auth/mutations/signup" import { Signup } from "../validations" type SignupFormProps = { onSuccess?: () => void } export const SignupForm = (props: SignupFormProps) => { const [signupMutation] = useMutation(signup) return (