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.

Update contentlayer.config.ts

Steven Tey85eba37a4425
diff --git a/contentlayer.config.ts b/contentlayer.config.ts
index 501189bcf6..5ef9fb35cf 100644
--- a/contentlayer.config.ts
+++ b/contentlayer.config.ts
@@ -5,7 +5,6 @@ import rehypeSlug from "rehype-slug";
import rehypeAutolinkHeadings from "rehype-autolink-headings";
const capitalize = (str: string) => {
- if (!str || typeof str !== "string") return str;
return str.charAt(0).toUpperCase() + str.slice(1);
};