Skip to content

Commit

Permalink
small tweak to improve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-tey committed Oct 5, 2022
1 parent 6d559b3 commit fae72b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/app/modals/add-edit-link-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ function AddEditLinkModal({
id="key"
required
autoFocus={false}
pattern="[\p{Letter}\p{Mark}\d-]+" // Unicode regex to match all languages (and omit all symbols except for dashes)
pattern="[\p{Letter}\p{Mark}\d-]+" // Unicode regex to match characters from all languages and numbers (and omit all symbols except for dashes)
className={`${
keyExistsError
? "border-red-300 text-red-900 placeholder-red-300 focus:border-red-500 focus:ring-red-500"
Expand Down

0 comments on commit fae72b8

Please sign in to comment.