Promotion Form #118

Merged
Ajdj100 merged 13 commits from promotions into main 2025-12-30 20:57:25 -06:00
Showing only changes of commit f9e5dacda8 - Show all commits

View File

@@ -10,7 +10,7 @@ export const batchPromotionMemberSchema = z.object({
});
export const batchPromotionSchema = z.object({
promotions: z.array(batchPromotionMemberSchema).nonempty({ message: "At least one promotion is required" }),
promotions: z.array(batchPromotionMemberSchema, { message: "At least one promotion is required" }).nonempty({ message: "At least one promotion is required" }),
})
.superRefine((data, ctx) => {