Skip to content

Commit 99298c3

Browse files
committed
fix: typo
1 parent a3827fe commit 99298c3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib/validations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export const editUrlSchema = z.object({
44
url: z.string().url("Invalid URL format"),
55
shortCode: z
66
.string()
7-
.min(2, "Short code must be at least 3 characters")
7+
.min(2, "Short code must be at least 2 characters")
88
.max(25, "Short code must be at most 25 characters")
99
.regex(
1010
/^[a-zA-Z0-9_-]+$/,

0 commit comments

Comments
 (0)