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.

fixed plan.startsWith error

Steven Tey89a16307a8b2
diff --git a/components/app/settings/plan-usage.tsx b/components/app/settings/plan-usage.tsx
index 9987fa4c5c..a0287b8b57 100644
--- a/components/app/settings/plan-usage.tsx
+++ b/components/app/settings/plan-usage.tsx
@@ -50,7 +50,7 @@ export default function PlanUsage() {
<h2 className="text-xl font-medium">Plan &amp; Usage</h2>
<p className="text-gray-500 text-sm">
You are currently on the{" "}
- {!loading ? (
+ {plan ? (
<span
className={`capitalize ${
plan.startsWith("Enterprise")