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 guide-list.tsx

Kiran K59c6ab35bb57
diff --git a/apps/web/app/(ee)/app.dub.co/(new-program)/[slug]/program/new/connect/guide-list.tsx b/apps/web/app/(ee)/app.dub.co/(new-program)/[slug]/program/new/connect/guide-list.tsx
index 247f633f43..36a9ac6a74 100644
--- a/apps/web/app/(ee)/app.dub.co/(new-program)/[slug]/program/new/connect/guide-list.tsx
+++ b/apps/web/app/(ee)/app.dub.co/(new-program)/[slug]/program/new/connect/guide-list.tsx
@@ -158,16 +158,16 @@ export function GuideList() {
))}
</div>
- <div className="mt-6 flex flex-col items-center justify-center space-y-3">
+ <div className="flex flex-col items-center justify-center space-y-3">
<Button
text="I've completed this"
className="rounded-lg"
onClick={() => handleComplete(section.type)}
/>
- {(section.type === "server-sdk" ||
- section.type === "track-leads" ||
- section.type === "track-sales") && (
+ {["server-sdk", "track-leads", "track-sales"].includes(
+ section.type,
+ ) && (
<p className="flex items-center justify-center gap-2 text-center text-sm font-medium leading-5 text-neutral-500">
<Shopify className="inline size-4" />
If you're using Shopify, you can skip this step.{" "}
@@ -199,11 +199,13 @@ export function GuideList() {
View full documentation ↗
</a>
- <Button
- text="I'll connect Dub later"
- className="h-8 w-fit rounded-lg"
- variant="secondary"
- />
+ <Link href={`/${workspaceSlug}/program/new/overview`}>
+ <Button
+ text="I'll connect Dub later"
+ className="h-8 w-fit rounded-lg"
+ variant="secondary"
+ />
+ </Link>
</div>
</div>
);