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 next

Steven Tey75c62b5f912d
diff --git a/apps/web/app/(ee)/partners.dub.co/(auth)/login/page.tsx b/apps/web/app/(ee)/partners.dub.co/(auth)/login/page.tsx
index cb3536059d..58835b21c0 100644
--- a/apps/web/app/(ee)/partners.dub.co/(auth)/login/page.tsx
+++ b/apps/web/app/(ee)/partners.dub.co/(auth)/login/page.tsx
@@ -63,7 +63,7 @@ export default async function LoginPage({
<div className="mt-8">
<LoginForm
methods={["email", "password", "google"]}
- next={`/${programSlug ? `/programs/${programSlug}` : ""}`}
+ next={programSlug ? `/programs/${programSlug}` : "/"}
/>
</div>
<p className="mt-6 text-center text-sm font-medium text-neutral-500">