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.

Align product tab order with default product fallback

Cursor Agentd23108c502ff
diff --git a/apps/web/ui/layout/sidebar/app-sidebar-nav.tsx b/apps/web/ui/layout/sidebar/app-sidebar-nav.tsx
index 0a649fc161..4beed418e1 100644
--- a/apps/web/ui/layout/sidebar/app-sidebar-nav.tsx
+++ b/apps/web/ui/layout/sidebar/app-sidebar-nav.tsx
@@ -126,7 +126,7 @@ const NAV_GROUPS: SidebarNavGroups<SidebarNavData> = ({
: undefined,
};
- return defaultProduct === "links"
+ return (defaultProduct ?? "links") === "links"
? [linksGroup, programGroup]
: [programGroup, linksGroup];
};