Skip to content

Commit 34947ff

Browse files
committed
Fix linkedin regex
1 parent da4d5ed commit 34947ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/(authenticated)/profile/edit/EditProfileForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ export default function EditProfileForm({
284284
className="input"
285285
{...register("contacts.linkedin", {
286286
pattern: {
287-
value: /^[A-Za-z0-9_-]{3,300}$/,
287+
value: /^[a-zA-Z0-9À-ž_.-]{3,300}$/,
288288
message: "Invalid username",
289289
},
290290
})}

0 commit comments

Comments
 (0)