diff --git a/app/routes/settings+/profile.index.tsx b/app/routes/settings+/profile.index.tsx index b9030bdb6..71894ee49 100644 --- a/app/routes/settings+/profile.index.tsx +++ b/app/routes/settings+/profile.index.tsx @@ -23,7 +23,7 @@ export const handle: SEOHandle = { } const ProfileFormSchema = z.object({ - name: NameSchema.optional(), + name: NameSchema.nullable().default(null), username: UsernameSchema, })