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 nav tabs

Steven Tey052c33d586ef
diff --git a/apps/web/ui/layout/nav-tabs.tsx b/apps/web/ui/layout/nav-tabs.tsx
index 11f2a9e90c..cb218cb151 100644
--- a/apps/web/ui/layout/nav-tabs.tsx
+++ b/apps/web/ui/layout/nav-tabs.tsx
@@ -26,6 +26,9 @@ export default function NavTabs() {
{ name: "Settings", href: `/${slug}/settings` },
];
}
+ if (pathname === "/analytics") {
+ return [{ name: "← Back to all links", href: "/links" }];
+ }
return [
{ name: "Projects", href: "/" },
{ name: "Dub.sh Links", href: "/links" },