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 app-sidebar-nav.tsx

Steven Tey5a7c1eeafee1
diff --git a/apps/web/ui/layout/sidebar/app-sidebar-nav.tsx b/apps/web/ui/layout/sidebar/app-sidebar-nav.tsx
index 9b7456d2b5..ec13a0330c 100644
--- a/apps/web/ui/layout/sidebar/app-sidebar-nav.tsx
+++ b/apps/web/ui/layout/sidebar/app-sidebar-nav.tsx
@@ -225,6 +225,11 @@ const NAV_AREAS: SidebarNavAreas<{
href: "/account/settings",
exact: true,
},
+ {
+ name: "Security",
+ icon: ShieldCheck,
+ href: "/account/settings/security",
+ },
...(session?.user?.["referralLinkId"]
? [
{
@@ -234,11 +239,6 @@ const NAV_AREAS: SidebarNavAreas<{
},
]
: []),
- {
- name: "Security",
- icon: ShieldCheck,
- href: "/account/settings/security",
- },
],
},
],