import { LabeledTextField } from "app/core/components/LabeledTextField" import { Form, FORM_ERROR } from "app/core/components/Form" import signup from "app/auth/mutations/signup" import { Signup } from "app/auth/validations" import { useMutation } from "@blitzjs/rpc" type SignupFormProps = { onSuccess?: () => void } export const SignupForm = (props: SignupFormProps) => { const [signupMutation] = useMutation(signup) return (