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 plan-badge.tsx

Steven Tey9938fac3e1f8
diff --git a/apps/web/ui/workspaces/plan-badge.tsx b/apps/web/ui/workspaces/plan-badge.tsx
index c7a3294103..23d5234ccd 100644
--- a/apps/web/ui/workspaces/plan-badge.tsx
+++ b/apps/web/ui/workspaces/plan-badge.tsx
@@ -1,5 +1,6 @@
import { PlanProps } from "@/lib/types";
import { Badge } from "@dub/ui";
+import { capitalize } from "@dub/utils";
export default function PlanBadge({ plan }: { plan: PlanProps }) {
return (
@@ -14,7 +15,7 @@ export default function PlanBadge({ plan }: { plan: PlanProps }) {
: "black"
}
>
- {plan}
+ {capitalize(plan)}
</Badge>
);
}