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.

chore: update capitalize.ts

Ikko Eltociear Ashimine596f6cdcfb26
diff --git a/packages/utils/src/functions/capitalize.ts b/packages/utils/src/functions/capitalize.ts
index 3130726378..02b68c31e7 100644
--- a/packages/utils/src/functions/capitalize.ts
+++ b/packages/utils/src/functions/capitalize.ts
@@ -1,4 +1,4 @@
-// capitalie first character of each word in a string
+// capitalize first character of each word in a string
export function capitalize(str?: string | null) {
if (!str || typeof str !== "string") return str;
return str