diff --git a/targets/frontend/src/components/contributions/type.ts b/targets/frontend/src/components/contributions/type.ts index f145744d1..0dfb051b6 100644 --- a/targets/frontend/src/components/contributions/type.ts +++ b/targets/frontend/src/components/contributions/type.ts @@ -130,7 +130,7 @@ export const questionBaseSchema = z.object({ required_error: "une question doit ĂȘtre renseigner", }) .min(1, "une question doit ĂȘtre renseigner"), - order: z.number().optional(), + order: z.number(), }); export const commentsSchema = z.object({