Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
shrir committed Dec 8, 2024
1 parent 75c443d commit 68848e7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions frontend/src/components/icps/AgentForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ const agentFormSchema = z.object({
headcountMin: z
.number({ invalid_type_error: "Min must be a number" })
.min(1, "Min must be greater than 0")
.max(10000, "Max must not be greater than 10,000")
.max(10000, "Min must not be greater than 10,000")
.int()
.default(1),
headcountMax: z
.number({ invalid_type_error: "Max must be a number" })
.min(1, "Max must be greater than 0 and min")
.min(1, "Max must be greater than 0")
.max(10000, "Max must not be greater than 10,000")
.int()
.default(10000),
Expand All @@ -70,13 +70,13 @@ const agentFormSchema = z.object({
engineeringMin: z
.number({ invalid_type_error: "Min must be a number" })
.min(1, "Min must be greater than 0")
.max(2000, "Max must not be greater than 1000")
.max(2000, "Min must not be greater than 2000")
.int()
.default(1),
engineeringMax: z
.number({ invalid_type_error: "Max must be a number" })
.min(1, "Max must be greater than 0 and min")
.max(2000, "Max must not be greater than 1000")
.min(1, "Max must be greater than 0")
.max(2000, "Max must not be greater than 2000")
.int()
.default(100),
})
Expand Down

0 comments on commit 68848e7

Please sign in to comment.