fix: Hide opt-out option for ancillary email

This commit is contained in:
Christel Westerberg
2025-11-03 15:46:54 +01:00
parent b8d887f82d
commit a2e0f7244a
6 changed files with 1 additions and 17 deletions

View File

@@ -31,7 +31,6 @@ export const ancillaryFormSchema = z
termsAndConditions: z
.boolean()
.refine((value) => value === true, ancillaryError.TERMS_NOT_ACCEPTED),
optInEmail: z.boolean(),
paymentMethod: nullableStringValidator,
})
.merge(quantitySchemaWithoutRefine)