mirror of
https://github.com/ajnart/homarr.git
synced 2026-01-19 14:02:20 +01:00
♻️ Address pull request feedback
This commit is contained in:
@@ -56,7 +56,7 @@ const handleTooSmallError = (issue: ZodTooSmallIssue, ctx: ErrorMapCtx) => {
|
||||
}
|
||||
|
||||
return {
|
||||
key: `errors.too_small.${issue.type}`,
|
||||
key: `errors.tooSmall.${issue.type}`,
|
||||
params: {
|
||||
minimum: issue.minimum,
|
||||
count: issue.minimum,
|
||||
@@ -72,7 +72,7 @@ const handleTooBigError = (issue: ZodTooBigIssue, ctx: ErrorMapCtx) => {
|
||||
}
|
||||
|
||||
return {
|
||||
key: `errors.too_big.${issue.type}`,
|
||||
key: `errors.tooBig.${issue.type}`,
|
||||
params: {
|
||||
maximum: issue.maximum,
|
||||
count: issue.maximum,
|
||||
|
||||
Reference in New Issue
Block a user