fix: last name still showing as required on account form (#492)

Co-authored-by: Kyle Mendell <kmendell@ofkm.us>
This commit is contained in:
Kyle Mendell
2025-04-29 13:24:16 -05:00
committed by GitHub
parent ec76e1c111
commit cf3fe0be84

View File

@@ -7,7 +7,6 @@
import type { UserCreate } from '$lib/types/user.type';
import { axiosErrorToast } from '$lib/utils/error-util';
import { createForm } from '$lib/utils/form-util';
import { BookUser } from 'lucide-svelte';
import { toast } from 'svelte-sonner';
import { z } from 'zod';
@@ -29,7 +28,7 @@
const formSchema = z.object({
firstName: z.string().min(1).max(50),
lastName: z.string().min(1).max(50),
lastName: z.string().max(50),
username: z
.string()
.min(2)