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.

Pass group to blocks on dashboard program apply page (#3162)

Tim Wilson128f543c5b28
diff --git a/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/[programSlug]/apply/page.tsx b/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/[programSlug]/apply/page.tsx
index 53b280d140..a1a34b640c 100644
--- a/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/[programSlug]/apply/page.tsx
+++ b/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/[programSlug]/apply/page.tsx
@@ -65,7 +65,11 @@ export default async function ProgramDetailsPage(props: {
.blocks.map((block, idx) => {
const Component = BLOCK_COMPONENTS[block.type];
return Component ? (
- <Component key={idx} block={block} program={program} />
+ <Component
+ key={idx}
+ block={block}
+ group={program.group}
+ />
) : null;
})}
</div>