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.

fix header login href

Steven Tey20a59b1325f7
diff --git a/apps/web/app/(ee)/partners.dub.co/(apply)/[programSlug]/header.tsx b/apps/web/app/(ee)/partners.dub.co/(apply)/[programSlug]/header.tsx
index 8be482a63e..1ee7e2ef88 100644
--- a/apps/web/app/(ee)/partners.dub.co/(apply)/[programSlug]/header.tsx
+++ b/apps/web/app/(ee)/partners.dub.co/(apply)/[programSlug]/header.tsx
@@ -48,7 +48,7 @@ export function Header({
<div className="flex items-center gap-2">
{showLogin && !session?.user && status !== "loading" && (
- <Link href={`/login?next=${pathname}`}>
+ <Link href={`/${program.slug}/login?next=${pathname}`}>
<Button
type="button"
variant="secondary"