Skip to content

Commit 7291b00

Browse files
authored
fix: clearing profile name (#963)
1 parent 71201c8 commit 7291b00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/routes/settings+/profile.index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const handle: SEOHandle = {
2323
}
2424

2525
const ProfileFormSchema = z.object({
26-
name: NameSchema.optional(),
26+
name: NameSchema.nullable().default(null),
2727
username: UsernameSchema,
2828
})
2929

0 commit comments

Comments
 (0)