mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-24 16:51:13 -05:00
Fix: Implement Phase 1 and 2 for Account & Profile tab
This commit is contained in:
@@ -92,6 +92,13 @@ export const personalLocationSchema = z.string()
|
||||
)
|
||||
.optional();
|
||||
|
||||
// Preferred pronouns validation
|
||||
export const preferredPronounsSchema = z
|
||||
.string()
|
||||
.trim()
|
||||
.max(20, { message: "Pronouns must be less than 20 characters" })
|
||||
.optional();
|
||||
|
||||
export const profileEditSchema = z.object({
|
||||
username: usernameSchema,
|
||||
display_name: displayNameSchema,
|
||||
|
||||
Reference in New Issue
Block a user