Skip to content

Commit

Permalink
User notes field optional
Browse files Browse the repository at this point in the history
  • Loading branch information
parkerdavis1 committed Apr 6, 2024
1 parent 3668aee commit 57603cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/admin+/_users+/users.edit.$userId.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const editUserSchema = z.object({
isInstructor: checkboxSchema(),
isLessonAssistant: checkboxSchema(),
isHorseLeader: checkboxSchema(),
notes: z.string(),
notes: z.string().optional(),
})

export const loader = async ({ request, params }: DataFunctionArgs) => {
Expand Down

0 comments on commit 57603cc

Please sign in to comment.