Skip to content

Commit

Permalink
Update message
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-dharti-r committed Apr 10, 2024
1 parent a25fcb6 commit 6923161
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin/pages/dishes/add/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,15 @@ const AddDishPage = () => {
? z
.string({
required_error: "Video thumbnail is required",
invalid_type_error: "Video thumbnail is required",
invalid_type_error: "Invalid video thumbnail",
})
.min(10, { message: "Video thumbnail is required" })
: z.null(),
video: isVideoChecked
? z
.string({
required_error: "Video is required",
invalid_type_error: "Video is required",
invalid_type_error: "Invalid video",
})
.min(10, { message: "Video is required" })
: z.null(),
Expand Down

0 comments on commit 6923161

Please sign in to comment.