changed validation msg for bucket label to bucket
This commit is contained in:
parent
f14644b3b4
commit
7932f847f6
@ -39,7 +39,7 @@ export const ContactSchema = z
|
||||
})
|
||||
)
|
||||
.min(1, { message: "At least one tag is required" }),
|
||||
bucketIds: z.array(z.string()).nonempty({ message: "At least one label is required" })
|
||||
bucketIds: z.array(z.string()).nonempty({ message: "At least one bucket is required" })
|
||||
})
|
||||
|
||||
// .refine((data) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user