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.

final changes

Steven Tey072875f25a81
diff --git a/apps/web/ui/guides/guide-list.tsx b/apps/web/ui/guides/guide-list.tsx
index b28fbf59da..64ee7041b7 100644
--- a/apps/web/ui/guides/guide-list.tsx
+++ b/apps/web/ui/guides/guide-list.tsx
@@ -46,9 +46,7 @@ export function GuideList() {
value={currentStep}
onValueChange={(value) => {
queryParams({
- set: {
- step: value,
- },
+ ...(value ? { set: { step: value } } : { del: "step" }),
scroll: false,
});
}}
@@ -117,7 +115,11 @@ export function GuideList() {
className="rounded-lg"
onClick={() => {
if (sections.length - 1 === index) {
- router.push(`/${workspaceSlug}/events`);
+ router.push(
+ showConnectLaterButton
+ ? `/${workspaceSlug}/program/new/overview`
+ : `/${workspaceSlug}/events`,
+ );
return;
}
queryParams({