fix(don): change false min number
Build and Push Image / build-backend (push) Successful in 16s
Build and Push Image / build-frontend (push) Successful in 1m12s
Build and Push Image / push (push) Successful in 46s

This commit is contained in:
2026-06-08 14:04:55 +07:00 Unverified
parent f0a6f65a38
commit 6bc3c4a138
+1 -1
View File
@@ -66,7 +66,7 @@ const Schema = z
message: z.string().max(500, "ข้อความยาวสุด 200 ตัวอักษร").default(""),
amount: z.coerce
.number("จำนวนต้องเป็นตัวเลข")
.min(10, "โดเนทขั้นต่ำ 1 บาท")
.min(1, "โดเนทขั้นต่ำ 1 บาท")
.max(10000, "โดเนทได้ไม่เกิน 1 หมื่นบาท"),
image: z.file().optional(),
})