Skip to content

Commit

Permalink
fix schema
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeKarow committed Jul 19, 2024
1 parent f4ffa78 commit 07e99c1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/ui/components/data-portal/AddressDrawer/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ export const FormSchema = z.object({
.partial(),
services: z.string().array(),
})
.partial()
.required({ addressVisibility: true }),
.partial(),
})
export type FormSchema = z.infer<typeof FormSchema>
export const schemaTransform = ({ id, data }: FormSchema) => ({
Expand Down

0 comments on commit 07e99c1

Please sign in to comment.