fix(ui): fix zControlAdapterBase schema weight

This commit is contained in:
psychedelicious 2024-05-08 11:01:20 +10:00 committed by Kent Keirsey
parent de33d6e647
commit 6107e3d281

View File

@ -195,7 +195,7 @@ const zBeginEndStepPct = z
const zControlAdapterBase = z.object({
id: zId,
weight: z.number().gte(0).lte(0),
weight: z.number().gte(0).lte(1),
image: zImageWithDims.nullable(),
processedImage: zImageWithDims.nullable(),
isProcessingImage: z.boolean(),