Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

small tweak to improve comments

Steven Teyfae72b81e1de
diff --git a/components/app/modals/add-edit-link-modal.tsx b/components/app/modals/add-edit-link-modal.tsx
index ad0348e781..6b0bcf15a3 100644
--- a/components/app/modals/add-edit-link-modal.tsx
+++ b/components/app/modals/add-edit-link-modal.tsx
@@ -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"