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 featured-programs.tsx

Tim Wilsonc9b282f00f7c
diff --git a/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/marketplace/featured-programs.tsx b/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/marketplace/featured-programs.tsx
index 05a1abd103..e5be4a808d 100644
--- a/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/marketplace/featured-programs.tsx
+++ b/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/marketplace/featured-programs.tsx
@@ -19,7 +19,7 @@ export function FeaturedPrograms() {
{ revalidateOnFocus: false, keepPreviousData: true },
);
- return programs?.length === 0 ? null : (
+ return programs?.length === 0 || error ? null : (
<div>
<h2 className="text-content-emphasis text-base font-semibold">
Featured programs